Ticket #944 (assigned task)

Opened 5 years ago

Last modified 2 years ago

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

comment:1 Changed 2 years ago by ArcRiley

  • Status changed from new to assigned
  • Description modified (diff)
  • Summary changed from create Body.field property and cdef Children Scene._fields to create Body.field property
Note: See TracTickets for help on using tickets.