- Home /
How to make objects "Bounceable"
Hey Guys I have this problem: I wanted to add Physics to an object the Player can jump on and when he does the object goes down a little, so that we have this realistic effect. I played around a little with the diffrent Joints from the Physics pannel but it doesnt seem to work out right like I want it. If you can help me somehow, please answer - Thank you
Does the implementation need to mimic true physics or could you work with colliders and reposition the platform/object whenever the player is touching it?
What throwing? No, like I said... let me put it this way: A Trampoline. When the player jumps on it, it bends down and if he goes away from the Trampoline, it goes back to its normal condition. Get it? =)
@Save Yeah that could work - Im currently picturing it in my $$anonymous$$d but just one part of the object has to bend or it bends along a specific ankle - is that possible?
Answer by Maru07 · May 17, 2012 at 03:45 PM
This cant be solved by simply a hinge joint. A charController never interacts with physics. This is just possible with a Script attached to a trigger around that object that says: onTriggerEnter add force/mass and onTriggerExit return;
Just a Joint is cool when the object that will collide with it, is not a CharController. Otherwise, just a OnTriggerEnter Script will help.
Your answer
Follow this Question
Related Questions
how the ball bounces of equal in angles? 1 Answer
Sphere Goes Crazy 3 Answers
how to make give a cube the capability to make an object jump when it comes on it ?? 1 Answer
Trouble with spring platform 0 Answers
Ball bounce problem 1 Answer