SlideResult¶
from acron.slide import SlideResult
- class SlideResult(position: LVector3f, velocity: LVector3f)¶
Bases:
objectWhat one
collide_and_slide()produced.position/velocityare the moved position and the (possibly floor-projected) velocity, world space.floor_normal/wall_normalhold the LAST floor/wall contact normal and are only meaningful when the matching flag is set.Inheritance diagram
digraph inheritance41269d4df1 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "SlideResult" [URL="acron.slide.SlideResult.html#acron.slide.SlideResult",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="What one :func:`collide_and_slide` produced."]; }- on_ceiling¶
- on_floor¶
- on_wall¶
- position¶
- velocity¶