Forum

Hit target

21 October 2016 14:34 #12922
What's up!

I would like to know how when an object hits a target. It take action. For exemple. A bullet hits a barrel and it explodes.
24 October 2016 14:43 #13012
Hi,

I would recommend you to use physics for such task.

If you want an explosion to occur immediately after a shot is fired, you can use raycasting. You have to replace billboards with animated explosions.
If you want the bullet to be a proper physics object, then you need to assign it bounding physics and use a collision sensor in your application.
Blend4Web developer
25 October 2016 13:26 #13059
Nice!
Evgeny Rodygin
I will study more this application to understand better the logic.

Thanx a lot!
 
Please register or log in to leave a reply.