Polysoup player camera collision
by Ron Kirkland · in Torque Game Engine Advanced · 06/21/2008 (8:24 pm) · 2 replies
Ive noticed that my player camera drifts into the DTS models when I use a dts and polysoup rather than adjusting to and colliding with my dif interiors..
I looked ( but perhaps missed?) for a resource or fix, but haven't found anything yet..
Anyone addressed this?
I looked ( but perhaps missed?) for a resource or fix, but haven't found anything yet..
Anyone addressed this?
About the author
#2
06/23/2008 (10:09 am)
Assuming a stock Camera... code in Camera::validateEyePoint() looks for collisions with these types:U32 mask = AtlasObjectType |
TerrainObjectType |
InteriorObjectType |
WaterObjectType |
StaticShapeObjectType |
PlayerObjectType |
ItemObjectType |
VehicleObjectType;None of these match with a TSStatic which is what a polysoup/DTS is. You could try adding StaticTSObjectType to the list.
Torque 3D Owner Ron Kirkland