i was wondering if there is a good solution to draw the selection markes for units in an RTS.
For now i just add 2 more nodes to the scene (selection circle and healthbar). But even with an RigidBodyCombiner this solution is not really satisfying.
reparent… yeah, sometimes it’s so obvious. I have to make so many things work in such a small time that I don’t have time to think about individual optimization
EDIT: no wait, now I remember. My tex is rotating and when I reparent the projector to the actor, the orientation will mess up. I.e. the projector rotates with the actor but it should not. That’s the whole reason why I just set the position.
Sorry for bumping, but a solution to the problem with parenting would be to insert a dummy node above the actor, then attach both the actor and projector to it. Rotation could be applied to the actor node and translation to the dummy node. In that way the projector node would rotate independently.