QU: ResetEntity?

Blitz3D Forums/Blitz3D Beginners Area/QU: ResetEntity?

Happy Sammy(Posted 2008) [#1]
Hi all,

When to use "ResetEntity" ( Resets the collision state of an entity)?

Thanks in advance


big10p(Posted 2008) [#2]
You use it after repositioning a collidable entity to prevent a collision being registered during it's 'journey' from it's old position to it's new position.


LedgerARC(Posted 2008) [#3]
say for instance you create a big level, then you create your objects, the objects are positioned at 0,0,0 and you want them at -100,0,-100. if you simply called the comand positionentity objects,-100,0,-100 and your collisions were already set, then the objects would end up in some random spot and not where you wanted them. you can use thes command to make sure that doesn't happen, though I use hideentity and showentity for this situation. you would most likely use this command for if you had some random powerup where you could go though a wall.

hoped this helped
Andrew


Happy Sammy(Posted 2008) [#4]
Thank you for your tips, big10p and floppyracer.
I just found a similar thread for this topics
http://www.blitzbasic.com/Community/posts.php?topic=69284#774886

:D