Tree Collision Causes Objects To Bounce.

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Tree Collision Causes Objects To Bounce.

Postby AntonSynytsia » Sat Mar 08, 2014 7:22 pm

Dynamic bodies bounce on tree collisions.
However, they don't bounce on convex collisions, that were set static (mass of zero).
Test:
  • Set gravity to -100 and recompile:
    Code: Select all
    #define DEMO_GRAVITY  -100.0f  // PhysicsUtils.h, line 16
  • Run Sandbox, and set solver model to exact (0).
  • Select Multi Geometry Collision option.
  • Turn on Show Contact Points

You will see objects bounce, or the drawn contact points blinking, which means object is bouncing.
Look at heightfield - you'll see objects bounce on them.
Look at the white static box in air - you'll see objects not bouncing.

The set solver model to zero, and the bouncing of objects on heightfield stops.
AntonSynytsia
 
Posts: 193
Joined: Sat Dec 28, 2013 6:36 pm

Re: Tree Collision Causes Objects To Bounce.

Postby AntonSynytsia » Sat Mar 08, 2014 10:11 pm

I guess penetration of objects under high force is normal, but it's weird to see bodies penetrating on staticmesh collisions, and not pentetrating on static-convexhull collisions.
AntonSynytsia
 
Posts: 193
Joined: Sat Dec 28, 2013 6:36 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 6 guests

cron