Game Development Community

Shapebase Physx

by Erik Erson · in Torque 3D Beginner · 03/14/2010 (3:53 pm) · 2 replies

I can not seem to get the default car working in the Physx demo. I've added the car into it but the Player does not collide with it. The player also will not collide with ammo or weapons to pick them up. How can I fix this?

Update:
When I throw the weapon or ammo it will pick it back up. But not when it's created through the World Editor

About the author


#1
03/15/2010 (12:46 am)

Are you creating the weapons and ammo as scripted objects ("Scripted") or as static shapes ("Meshes")? If you drop them in as TSStatics, they will not be real items but rather be just plain rendered meshes and won't be picked up by the player. Same goes for the car. No interaction except if dropped in as a real vehicle.
#2
03/15/2010 (2:49 pm)
Ok I got the weapons and ammo working so thanks for that :). It was setting it as static whenever it was created. Easily fixed that. But the defaultCar is not rendered as static it doesn't have a static field but won't collide with anything except the ground in the Physx Demo.