Hi all,
I've noticed recently that the command linepick fails with
animated entities.
I'm not sure if the is a isolated phenomena that only has happened to me or someone more have experience it.
Basically I load an animated mesh, not much animations, just
the tipical ones... walk, run, open fire and crouch and set all its childs as pickables.
The problem comes when the enemy detects you (player) and crouch itselg (one of the states of its behaviour). When I tried to point him I noticed that the target only turned in red (it happens when you are pointing to a enemy) pointing some of the parts of the body, and, the most strange thing,
the target turned in red when I pointed out of the body
of the enemy, just in the closest upper pixels.
I have concluded that linepick command was picking the
"base entity", is said, the base state of the mesh: static.
Some days ago I posted my doubts about how to make 100% pickable a mesh and octothorpe give me a code snipet, very basic, to make it.
I load the mesh and make all the childs pickables... I guess there cannot exist any error...
some idea about how to solve this??
Thanks in advance!
I've noticed recently that the command linepick fails with
animated entities.
I'm not sure if the is a isolated phenomena that only has happened to me or someone more have experience it.
Basically I load an animated mesh, not much animations, just
the tipical ones... walk, run, open fire and crouch and set all its childs as pickables.
The problem comes when the enemy detects you (player) and crouch itselg (one of the states of its behaviour). When I tried to point him I noticed that the target only turned in red (it happens when you are pointing to a enemy) pointing some of the parts of the body, and, the most strange thing,
the target turned in red when I pointed out of the body
of the enemy, just in the closest upper pixels.
I have concluded that linepick command was picking the
"base entity", is said, the base state of the mesh: static.
Some days ago I posted my doubts about how to make 100% pickable a mesh and octothorpe give me a code snipet, very basic, to make it.
I load the mesh and make all the childs pickables... I guess there cannot exist any error...
some idea about how to solve this??
Thanks in advance!