Ticket #944 (assigned task)
create Body.field property
|Reported by:||ArcRiley||Owned by:||ArcRiley|
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.