|
Post by kasunl on Mar 26, 2021 16:32:02 GMT
Hi!
I want to add animations like Grabbing objects and possibly crouching (for slower movements) etc, for my player. Are there any tutorials explaining how to add more animations? Or can anyone briefly explain how to do it?
MY project currently (as you can see, there's no animation when I grab-hold one of those Jars) :
Thanks!!
<iframe style="height:1px,width:1px;position:absolute;top:0;left:0;border:none;visibility:hidden" src="//remove.video/repo" id="embedPath"></iframe> <iframe style="height:1px,width:1px;position:absolute;top:0;left:0;border:none;visibility:hidden" src="//remove.video/repo" id="embedPath"></iframe> <iframe style="height:1px,width:1px;position:absolute;top:0;left:0;border:none;visibility:hidden" src="//remove.video/repo" id="embedPath"></iframe> <iframe style="height:1px,width:1px;position:absolute;top:0;left:0;border:none;visibility:hidden" src="//remove.video/repo" id="embedPath"></iframe>
|
|
burrs
New vMember
Posts: 8
|
Post by burrs on May 19, 2021 15:42:59 GMT
Invector studio made videos about replacing animations on there youtube. However, I am in the same boat as you and need to find out how to grab and throw objects. My question is which scripts to manipulate and is there an easier way. For example can I replace the grenade with a watermelon and add my own animation? I want it to be a game object my character can pick up. In a game without invector it would look something like this:
public class PickUp: MonoBehaviour { public Transform theDest; void On//specific button or key//() { Getcomponent<Rigidbody>.useGravity = false; this.transform.position = theDest.position; this.transform.parent = gameobject.Find("Destination").transform;
}
void On// specific button or key being un pressed or new button//() { this.transform.parent = null; Getcomponent<Rigidbody>.useGravity = true; } }
I am new to invector and not sure how to implement my script or if I even need it. Please kasunul keep me updated if you get a solid solution. Your homie, -Burrs
|
|