|Filter|{{RootFieldType|SyncDelegate`1|[[Type:Func`2|Func`2]]<[[Type:ICollider|ICollider]], [[Type:Bool|Bool]]>}}|TypeAdv7=true| A [[Sync Delegate|sync delegate]] that takes a collider and returns a bool. if a collider returns false from this sync delegate, it is ignored when raycasting for objects.
|_positionDrive|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv8=true| The position to drive (usually the position of the slot this component is on)
|_rotationDrive|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv9=true| The rotation to drive (usually the rotation of the slot this component is on). aligns itself to the normal of the surface this raycast hit, or (0,0,0).
}}
}}
Line 28:
Line 29:
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
Can be used to place objects onto a floor, or as a laser pointer, or as part of a draw on a surface pen.
<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
* The lighter version, [[Component:RayDriver|Ray Driver Component]]
A sync delegate that takes a collider and returns a bool. if a collider returns false from this sync delegate, it is ignored when raycasting for objects.
The rotation to drive (usually the rotation of the slot this component is on). aligns itself to the normal of the surface this raycast hit, or (0,0,0).
Usage
Examples
Can be used to place objects onto a floor, or as a laser pointer, or as part of a draw on a surface pen.