- Home /
Question by
MajdHamada · Sep 07, 2015 at 11:26 AM ·
raycastspeedbullet
Bullet Speed / Ray
Hi ...
How to Control the Ray Speed in java Script to Make a Bullet Physics ??
Any ideas ??
Thanks :)
Comment
Answer by YoungDeveloper · Sep 07, 2015 at 11:28 AM
Ray cast is instant, and cannot be slowed down. You can fake the slow effect using other effects though, such as particles.
i want to control the bullet speed ... so it hits the enemy after a whail from ray casting ....
depending on the distance of the enemy ...
You should probably work with actual gameobjects which move in world space then, you'll have to check collision on it.