EntityBox / EntityRadius
Blitz3D Forums/Blitz3D Programming/EntityBox / EntityRadius
| ||
Please can someone explain why there are two commands for this? I appreciate one being cuboid, the other being ellipsoid- but what is default? What happens if both are set? Why doesn't EntityRadius have an offset position flag like EntityBox? |
| ||
hey, it depends on the collisions used. for instance: you could give the enemy an entity radius and an entity box. then depending on what the collision was, use the box or the sphere collision. it all depends on the command collisions 1,2,1,1 will mean use sphere to sphere collision collisions 1,2,3,1 will mean use sphere to box collision collision methods 1: sphere-to-sphere collisions 2: sphere-to-polygon collisions 3: sphere-to-box collisions if you don't use the collisions command, no collisions will occur hope that sheds some light !! |
| ||
Ah! That really helps!!! Thanks |