Server Collisions

Blitz3D Forums/Blitz3D Programming/Server Collisions

Linaxys(Posted 2008) [#1]
Hello,
How can a server detect collisions from an entity's position and it's collision box without having the 3D view ?

Thanks,
Axel.


Ross C(Posted 2008) [#2]
Just don't call renderworld. UpdateWorld is the only command you need to perform collisions and animate your entities.

Other than that, your talking about some pretty hard math.


srcoder(Posted 2008) [#3]
For easeiness you should do all the collision detection on the client machine. Send the server the resultant player position/rotation and that way you don't have to worry about the already very busy server doing all that extra maths.