Check if the player is over the entity and it's touching it
I have an entity with a box model, the objetive is everybody have a certain time to get on the entity or they will die.
I have something like this to check if the player is over the entity: PHP Code:
Now the problem is if i just jump away from de box, my Z origin still being > 140.0. I want to know how i can check if the player is touching the entity without have to use register_touch or any fuction which is called a many often, because i try with this: PHP Code:
|
Re: Check if the player is over the entity and it's touching it
try it
PHP Code:
PHP Code:
|
Re: Check if the player is over the entity and it's touching it
PHP Code:
|
All times are GMT -4. The time now is 12:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.