Polysoup, LOD and Collision for an AI
by Steve Acaster · in Torque Game Engine Advanced · 04/15/2009 (4:19 pm) · 2 replies
Idiot-proof explanation required.
Say I have a polysouped house with 2 storeys.
I LOD the house by removing the interior, thus no inside floors.
Is the polysoup collision updated to the new mesh of the LOD?
If I have an AIplayer inside the house on the upper floor, and the LODing removes the interior of that house (from the player's view), will the AI fall down now that the LODed model does not have that interior floor?
Or will they stay at their position, thus using the original (LOD_0) model's collision?
Say I have a polysouped house with 2 storeys.
I LOD the house by removing the interior, thus no inside floors.
Is the polysoup collision updated to the new mesh of the LOD?
If I have an AIplayer inside the house on the upper floor, and the LODing removes the interior of that house (from the player's view), will the AI fall down now that the LODed model does not have that interior floor?
Or will they stay at their position, thus using the original (LOD_0) model's collision?
About the author
One Bloke ... In His Bedroom ... Making Indie Games ...
#2
As soon as hit post, I thought, "hang on, why don't I just do a test?"
04/15/2009 (5:12 pm)
And the answer is ... yes it does. It appears it uses LOD_0 for all collision. I've had bots running over non-rendering surfaces no problem.As soon as hit post, I thought, "hang on, why don't I just do a test?"
Torque Owner Andy Rollins
ZDay Game