Shockwave
This is a parent class used to define the raycasting behavior of ring, line, and debris effects.
Summary
Attributes
The direction and magnitude of the raycast from the origin attachment.
The collision group used for raycasting.
The tag used to create a part filter for raycasting.
Defines the nature of the part filter used for raycasting.
When true, rays will ignore water terrain.
When true, rays will ignore the ‘CanCollide’ property of parts.
Attributes
RayDirection
Vector3The direction and magnitude of the raycast from the origin attachment.
RayCollisionGroup
stringThe collision group used for raycasting. Parts with collision groups that cannot collide with the ray’s collision group are ignored.
FilterTag
stringThe tag used to create a part filter for raycasting. The nature of the filter changes based on the ‘FilterType’ attribute.
FilterType
EnumDefines the nature of the part filter used for raycasting.
- Exclude - all parts inside the filter are ignored by the ray.
- Include - only parts inside the filter can be hit by the ray.
IgnoreWater
booleanWhen true, rays will ignore water terrain.
IgnoreCanCollide
booleanWhen true, rays will ignore the ‘CanCollide’ property of parts.