- Home /
Rigidbody bounce to a place without physics material.
I have a rigidbody and I want it to bounce to a position, going up on the y axis and forward on the x axis and then coming down back to ground and then repeat until it reaches the corner of the ground or other desired position. I have tried using addforce but I know that will not work. And I can use physic material but I want to have a very precise control over the movement.
Someone who is not a unity user suggested that I should use waypoints, but to my knowledge I think waypoints are a bit complicated in unity ? Is there any other way to achieve this ? Or rather what is the best way to use waypoints ?
Just curious, what is a cornet? I looked it up in a dictionary, and it says cone shaped wafer filled with ice cream (and now I want ice cream!). Do you want this bounce action to always start in the same place, always bounce to the exact same point in the world, and end at the same point? Or do you want something that is modular, like you can apply this bounce animation anywhere in your game, and the character will react physically with objects that get in the way of the bounce?
I meant corner, edited the question. To your query, This bounce would be same every time the scene is loaded although I want it to control via a script. Suppose say if there is an obstacle in the way and the body collides with it, it will stop bouncing or some other similar condition.