I need some help w/datablock item collisions
by Brent Corr · in Torque Game Engine Advanced · 08/26/2009 (8:30 pm) · 1 replies
I need to make a door that when it is collided with, it plays it's animation. Or maybe when they step on a trigger or whatever.
Unless I'm wrong, Only datablock(ed) items can play animations right? (because i've tried the regular static items with no prevail trying to play the animation via trigger)
When I create the "shape" in the world (other than making it stop rotating in script) it doesn't have a "collision mesh" (even though I supply one when exporting the model) therefore the player can walk straight through it. Is there a way to change this, I'm sure I can work out the animation part, but it is pretty useless if the player can just walk through it anyways. Can someone point me in the right direction?
Unless I'm wrong, Only datablock(ed) items can play animations right? (because i've tried the regular static items with no prevail trying to play the animation via trigger)
When I create the "shape" in the world (other than making it stop rotating in script) it doesn't have a "collision mesh" (even though I supply one when exporting the model) therefore the player can walk straight through it. Is there a way to change this, I'm sure I can work out the animation part, but it is pretty useless if the player can just walk through it anyways. Can someone point me in the right direction?
About the author
Security Professional
Torque Owner Brent Corr
HA