- Home /
Kinematic grenade bounce fake physics?
Is it possible to emulate the quake bouncing grenades without using real physics? Here's the effect I'm going for: https://gfycat.com/untidygentleguernseycow
I imagine I'll be using Rigidbody.MovePosition to move the grenade, and use Vector3.Reflect to perform the bounce, but I'm having trouble getting the right vector to use with MovePosition. I have a gravity float and a speed float, I assume the speed float needs always reducing and the gravity will always be applied to the y axis, but am I doing this against vector3.Forward? I'm not quite sure exactly how to do this.
Answer by qobion · Apr 25, 2020 at 08:21 PM
Use transform.forward for speed and vector3.down for gravity
Thanks, I got started with that, but since the ball would need to rotate in the direction it's travelling, I wasn't sure how to match it up, and how vector3.down would work in that situation?
Vector3.down is constant. No matter which direction you facing
Your answer
Follow this Question
Related Questions
How to calculate a RigidBody2D's bounce from a collider? 1 Answer
Moving and SweepTesting a kinematic Rigidbody multiple times within a single FixedUpdate() call 0 Answers
Bouncing Ball and Walls 1 Answer
Cant find options to change physic material to bouncy 2 Answers
How to calculate angle between 2D objects and use the result? 0 Answers