physics.box2d.object: Add 'Z' component to 'Site' to allow small variations in 'Z' to prevent opengl from flipping visuals constantly due to all 'Z's being '0.0'.
This commit is contained in:
@@ -158,7 +158,7 @@ b2d_Object_Site (Object* Self)
|
||||
the_Site.y = Self->bodyDef.position (1);
|
||||
}
|
||||
|
||||
the_Site.z = 0.0;
|
||||
the_Site.z = 0.0;
|
||||
|
||||
return the_Site;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user