Game Development Community

Collision Questions

by GI_JOEJK · in Technical Issues · 10/03/2008 (9:15 pm) · 2 replies

Can TGEA handle these two types of collision? Or do I have to use just one bulky collision mesh?

1. Simple Navigational Collision; this is what the player or vehicle bumps into.

2. Material FX tagging Collision; this is for bullet impacts on objects like wood, concrete, glass, metals and the like.

And how do I create the Tagging collision???

Thanks

#1
10/04/2008 (1:05 am)
Gunshot/bullet collisions are generally done by a raycast. A raycast returns the object hit, so all you need is somewhere in objects that are likely to be hit to put this material property. You also need to decide if this property needs to be networking or can just exist on the client.

Its possible something like this is implemented in the Projectile code already, but sounds doubtful, you'll have to look at the Projectile code and see how it works in detail.
#2
10/04/2008 (3:22 am)
Projectile impact FX on a material by material basis is kind of complex and requires delving into the source. Doing it on a object by object basis however is as simple as creating a field in a datablock.