- Home /
Bullet Moves To Fast To Detect?
Hey everyone! I'm here with another problem to solve! Right, well. All plainly, my bullet moves "too fast" so it doesn't get detected, but I need it to be that fast other wise it might not hit the target because the target is also moving. I'm using transform.Translate(Vector3.forward * 6f) that's almost the speed I want it at. But it like jumps the square so... How can I make it go that fast without making it miss any squares? Thanks all of you for your answers!
Answer by Yaza · Jun 14, 2015 at 11:10 AM
You shouldn't use transform.Translate if you want to detect collisions.
Better options are using rigidbody.MovePosition or rigidbody.velocity (Rigidbodys are recommended to use for collision detection of moving objects).
For objects so fast you can't even see them properly you should use Raycasts to detect if it will hit the target.
Ok then thanks! I'll look into RayCast thanks for your help!
Your answer
![](https://koobas.hobune.stream/wayback/20220613200954im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Bullet Speed / Ray 1 Answer
How can I quickly calculate Land Speed from a Vector3? 1 Answer
Vector 3. Slerp 1 Answer
Comparing rigidbody speeds 1 Answer
Ball not rolling fast on first movement 0 Answers