Game Development Community

Collisions with player

by Do Not Delete · in Torque X Platformer Kit · 11/04/2007 (10:55 am) · 1 replies

How can I know if a player collides with something?

I setup a blank scene object and I want to display an achievement (johnnylightbulb made it) when the player collides with it.

How would I do this?

#1
11/06/2007 (11:41 pm)
You can use a DirectionalTriggerComponent and make sure it's one of the object types that your actor is set up to collide with. Check out the section in the framework overview about the triggers because I don't remember off-hand, but I think I wrote a couple things in there that you might need to know to use them properly with the kit.