TranslateEntity
Blitz3D Forums/Blitz3D Beginners Area/TranslateEntity
| ||
Okay, I'm using TranslateEntity to move my cop around. It's working fine, collisions are working, everythings cool. But when I reset the game loop, I use PositionEntity to move the cop back to his start position. Then the next TranslateEntity moves him back to where he was before the reset. What's going on? I even tried an UpdateWorld() after the PositionEntity. |
| ||
Hideentity before doing the positionentity then showentity again. What's happening is when you reposition it the collisions are still in play, so you hide it first to avoid collisions. |
| ||
Got it. Thanks. I had assumed positionentity ignored collisions. |
| ||
or use ResetEntity after PositionEntity, this will reset the collisions for the entity. |