Ticket #944 (assigned task)
create Body.field property
| Reported by: | ArcRiley | Owned by: | ArcRiley |
|---|---|---|---|
| Priority: | Medium | Milestone: | beta3 |
| Component: | unknown | Version: | Trunk |
| Keywords: | API | Cc: |
Description (last modified by ArcRiley) (diff)
soy.fields should work like soy.shapes and soy.models; it adds functionality to a Body.
soy.fields.* should not inherit Body. They should pull their position from the Body they're attached to, and either work position-less without an attached body or disabled.
Instead of adding themselves to soy.scenes.Scene._bodies they should add themselves to a Scene._fields. In Scene._loop this should be iterated over for field actions and should do so once per ODE step (moved lower in the source), not once per _loop, for temporal consistency.
Change History
Note: See
TracTickets for help on using
tickets.



