Safe execution state

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Safe execution state

Postby carli2 » Thu Nov 10, 2011 2:50 pm


I want to implement a safe function into my game and for this I need to serialize the Newton World.
The world consists of Bodies, Joints and Collisions that also have script references. So I have to restore these entities together with their script reference.

1. So how can I retrieve all data needed to restore it from:
- NewtonObject
- Joints (no custom ones)
- Collisions
2. Did I forget entities that are important to completely restore the world?
Posts: 157
Joined: Thu Nov 10, 2011 1:53 pm

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 3 guests