Gravity, ray cast, and Scene Document round trip for physics Components #73
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/cinnabar#73
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Part of #67.
What to build
The Physics Interface answers queries and the Components survive a document round trip.
set_gravityandgravityread and write the world's gravity.ray_casttakes an origin, direction and maximum distance and reports the nearest hit'sRigidbodyComponent Handle (Null for an Implicit Static Body), point, normal and distance. A Scene Document saved after addingRigidbodyandBox_Colliderholds their authored fields and no body or shape id, and loading it into a fresh Engine with the physics Plugin recreates the bodies and simulates.Acceptance criteria
RigidbodyHandle and a shorter distance.Blocked by