I have trouble with entity. I detect it touches the floor using this:
PHP Code:
register_touch("c5_entity", "worldspawn", "fw_c5Bounce")
Another question:
1. I make an entity to can be shot. I use SOLID_BBOX it works but if when I throw the entity, the entity stuck at my origin and I can't move so I make it SOLID_NOT but can't be shot. How is the solution?
2. I want to make the entity rotate while bouncing when touch the floor and I use MOVETYPE_TOSS, if I use MOVETYPE_BOUNCE it don't want to stop bouncing?
3. How can I set the entity on wall if I throw it touches the wall?
Thank you.