Collision System
by GrizzLy · in Torque 3D Beginner · 03/17/2011 (9:16 am) · 1 replies
Sorry, i wonder where i can find some information/manual/example on collision system?
Stuff like information on which collision solids exist, can i use bitmasks to specify what can collide with what, how can i create events based on detected collisions..
Stuff like information on which collision solids exist, can i use bitmasks to specify what can collide with what, how can i create events based on detected collisions..
Associate Michael Hall
Distracted...
Simple answer, yes. Long answer requires source code access and knowledge of availabe Typemasks.
In the abstract this is automatically handled by the engine with fine tuning left up to the developer. You run into it you stop moving. Most (shapebase) classes have an onCollision callback setup for them that can be controlled or interacted with through script (namespace or per object basis) allowing developer/user in-game script 'events' to be activated when the collision happens.