A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by KingSnail » Mon Nov 22, 2010 6:59 pm
Is it possible to disable bodies checking if they are colliding with other bodies and only check if they are colliding with the terrain.
This would drasticly reduce the strain on my server I think.
The bodies I am talking about are character controllers here, and I dont necessarily want player collision in my online game
Working on an MMORPG powered by Newton Dynamics.
-

KingSnail
-
- Posts: 112
- Joined: Sat Jan 02, 2010 9:55 pm
by Julio Jerez » Mon Nov 22, 2010 7:59 pm
you can by returning 0 in the
int (*NewtonOnAABBOverlap) (const NewtonMaterial* material, const NewtonBody* body0, const NewtonBody* body1, int threadIndex);
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by KingSnail » Tue Nov 23, 2010 2:53 pm
Hmm I did what you said and the collision is disabled for the body but not the head/feet?
I can walk through other players but I can still jump on their head? weird
Maybe I need to disable some kind of joint collisions on the character controller?
Working on an MMORPG powered by Newton Dynamics.
-

KingSnail
-
- Posts: 112
- Joined: Sat Jan 02, 2010 9:55 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 0 guests