"simple" collisions library?

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

duke
Posts: 31
Joined: 16 Apr 2009, 11:23

"simple" collisions library?

Postby duke » 19 May 2009, 01:11

Could anyone recommend a java collision/simple physics library? It only needs to be 2D. Alternatively, maybe theres one for AS or Python I could use if it's any easier? The main purpose would be:

-Spawn client in a fixed 2D space (with set bounds), server asks client for current position at 5fps or less (1fps maybe), updates his position on server.

-Server has other players/npcs loaded as well, with their positions. Server detects what players/npcs are in a fixed radius of the player (like Unity's OnTriggerEnter) and returns a LinkedList called playerUpdateRadius or something, that is then used for various things sent to this player, like OTHER players and npc's positions. This is so the server doesn't send every damn player and npc in in the room to the client.
duke
Posts: 31
Joined: 16 Apr 2009, 11:23

Postby duke » 19 May 2009, 04:54

Actually I guess creating a list of object within a certain radius of the player is more spatial trigger detection... or something.

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 26 guests