Skip to content
Snippets Groups Projects
Commit f0a69f7d authored by Tobias Leemann's avatar Tobias Leemann Committed by Sebastian Eibl
Browse files

[API] Union redesign

[API] removed rpos from all body constructors

Changes: Bodies that are part of a union now store all attributes relative to its respective coordinate frame. This affects gpos and q (Rotation), which are implicitly relative once a body becomes part of the union. These properties became private and the global Position can be accessed via getGlobalPos() which performs a recursive calcuation of the position of this body in the world frame. This avoids error-prone update procedures, if a Union is tranlated or rotated.
parent b1cecb31
Branches
Tags
No related merge requests found
Showing
with 101 additions and 128 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment