SlideResult

from acron.slide import SlideResult
class SlideResult(position: LVector3f, velocity: LVector3f)

Bases: object

What one collide_and_slide() produced.

position/velocity are the moved position and the (possibly floor-projected) velocity, world space. floor_normal/wall_normal hold 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."]; }
floor_normal: LVector3f | None
on_ceiling
on_floor
on_wall
position
velocity
wall_normal: LVector3f | None