unreal.RigUnit_LineTraceByProfile¶
- class unreal.RigUnit_LineTraceByProfile(start: Vector = Ellipsis, end: Vector = Ellipsis, profile_name: Name = 'None', hit: bool = False, hit_location: Vector = Ellipsis, hit_normal: Vector = Ellipsis)¶
Bases:
RigUnitPerforms a line trace against the world and return the first blocking hit. The trace is filtered by specifying a collision profile.
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_WorldCollision.h
Editor Properties: (see get_editor_property/set_editor_property)
end(Vector): [Read-Write] End of the trace in rig / global spacehit(bool): [Read-Write] Returns true if there was a hithit_location(Vector): [Read-Write] Hit location in rig / global Spacehit_normal(Vector): [Read-Write] Hit normal in rig / global Spaceprofile_name(Name): [Read-Write] The profile to usestart(Vector): [Read-Write] Start of the trace in rig / global space