Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Newton Collision to Material - Question

Author
Message
Maps
18
Years of Service
User Offline
Joined: 4th Oct 2005
Location: Paris
Posted: 10th Oct 2005 22:51
Hi
I've set up a gun which fire bullets in Newton
The bullets have their own Newton Body and Material

Here the function i writed to check collision involving those missiles :


this function is called each loop for every interactive DBPro object

As you can see, if the object touched by a bullet is in nMatNPC i want it to be destroyed
And if not, only the bullet is destroyed.

It works with npc, but often with other stuff too which are not in the nMatNPC Group...

any idea ?

Login to post a reply

Server time is: 2024-05-07 01:13:53
Your offset time is: 2024-05-07 01:13:53