Character geting stuck at trees...
by Dwarf King · in Torque 3D Professional · 09/12/2012 (10:42 am) · 5 replies
Dear fellow Torque 3D game developers,
I have recently after being unable to activate collision detection with .dts trees in forest editor opted to use .dae trees and using HUGE single TSStatic objects instead of the forest editor for very big trees as that would not be very good looking if a character can run through them.
It all work well and my character can even run on their greens and huge leaves and bump into them. BUT... BUT... sometimes(ahmm very often) the character will get stuck and keep on doing the same animation in a infinity loop or simple just start moving slowly up the tree without I can move the character in any direction. In fact he is locked to the tree after awhile and unmovable.
I use: Torque 3D 1.2 and I have set the collision for the big TSStatic object trees to collision = visible mesh.
Is there any walk around for this issue?
Best,
Dwarf King
I have recently after being unable to activate collision detection with .dts trees in forest editor opted to use .dae trees and using HUGE single TSStatic objects instead of the forest editor for very big trees as that would not be very good looking if a character can run through them.
It all work well and my character can even run on their greens and huge leaves and bump into them. BUT... BUT... sometimes(ahmm very often) the character will get stuck and keep on doing the same animation in a infinity loop or simple just start moving slowly up the tree without I can move the character in any direction. In fact he is locked to the tree after awhile and unmovable.
I use: Torque 3D 1.2 and I have set the collision for the big TSStatic object trees to collision = visible mesh.
Is there any walk around for this issue?
Best,
Dwarf King
About the author
GG really went down the drain in the end. What a shame. Hoped for more.
#2
I used to see this in Morrowind a lot for different surfaces. I came to love the jump button for getting unstuck. The PC version even had a console command to help a person get unstuck.
09/12/2012 (12:05 pm)
It could be the normal for a face is the wrong way. Then the player can get "in the tree" partially and get stuck. Or there are sharp face transitions or even a convex surface. Not sure without looking at the model. Doing what Michael said would give you explicit control of the collision mesh as well as keeping it simple to prevent getting stuck.I used to see this in Morrowind a lot for different surfaces. I came to love the jump button for getting unstuck. The PC version even had a console command to help a person get unstuck.
#3
09/12/2012 (12:47 pm)
Ops wrong thread... Sorry.
#4
09/12/2012 (3:25 pm)
Pointy edges are bad for visible collision and will snag/impale your character. There's information on creating collision in the docs.
#5
09/12/2012 (5:01 pm)
Don't read the docs; it's far better to learn it yourself through hours and hours of frustrating trial and error!
Associate Michael Hall
Distracted...