WorldRoot
This class is not creatable. Instances of this class cannot be created with Instance.new.
Memory category | PhysicsParts |
---|
Member index 25
Removed member index 1
History | Member | |
---|---|---|
427 | IkMoveTo(part: Instance, target: CFrame, translateStiffness: float = 1, rotateStiffness: float = 1, collisionsMode: CollisionsMode = OtherMechanismsAnchored): void |
History 91
- 616 Add StepPhysics
- 603 Add Shapecast
- 573 Change ReturnType of SetInsertPoint from void to null
- 573 Change ReturnType of IKMoveTo from void to null
- 573 Change ReturnType of BulkMoveTo from void to null
- 572 Change ThreadSafety of Spherecast from Unsafe to Safe
- 572 Change ThreadSafety of Blockcast from Unsafe to Safe
- 569 Add Spherecast
- 569 Add Blockcast
- 553 Change PreferredDescriptor of findPartsInRegion3 from to GetPartBoundsInBox
- 553 Change PreferredDescriptor of findPartOnRay from to Raycast
- 553 Change PreferredDescriptor of IsRegion3EmptyWithIgnoreList from to GetPartBoundsInBox
- 553 Change PreferredDescriptor of IsRegion3Empty from to GetPartBoundsInBox
- 553 Change PreferredDescriptor of FindPartsInRegion3WithWhiteList from to GetPartBoundsInBox
- 553 Change PreferredDescriptor of FindPartsInRegion3WithIgnoreList from to GetPartBoundsInBox
- 553 Change PreferredDescriptor of FindPartsInRegion3 from to GetPartBoundsInBox
- 553 Change PreferredDescriptor of FindPartOnRayWithWhitelist from to Raycast
- 553 Change PreferredDescriptor of FindPartOnRayWithIgnoreList from to Raycast
- 553 Change PreferredDescriptor of FindPartOnRay from to Raycast
- 552 Add RaycastCachedTerrain
- 552 Add ClearCachedTerrain
- 552 Add CacheCurrentTerrain
- 549 Change Parameters of Raycast from (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 549 Change Parameters of GetPartsInPart from (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 549 Change Parameters of GetPartBoundsInRadius from (position: Vector3, radius: float, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (position: Vector3, radius: float, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 549 Change Parameters of GetPartBoundsInBox from (cframe: CFrame, size: Vector3, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (cframe: CFrame, size: Vector3, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 512 Change Tags of IsRegion3EmptyWithIgnoreList from [] to [Deprecated]
- 512 Change Tags of IsRegion3Empty from [] to [Deprecated]
- 512 Change ThreadSafety of GetPartsInPart from Unsafe to Safe
- 512 Change ThreadSafety of GetPartBoundsInRadius from Unsafe to Safe
- 512 Change ThreadSafety of GetPartBoundsInBox from Unsafe to Safe
- 512 Change Tags of FindPartsInRegion3WithWhiteList from [] to [Deprecated]
- 512 Change Tags of FindPartsInRegion3WithIgnoreList from [] to [Deprecated]
- 512 Change ThreadSafety of FindPartsInRegion3 from Safe to Unsafe
- 512 Change Tags of FindPartsInRegion3 from [] to [Deprecated]
- 509 Change Parameters of Raycast from (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 509 Change Parameters of GetPartsInPart from (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 509 Change Parameters of GetPartBoundsInRadius from (position: Vector3, radius: float, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (position: Vector3, radius: float, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 509 Change Parameters of GetPartBoundsInBox from (cframe: CFrame, size: Vector3, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (cframe: CFrame, size: Vector3, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 492 Change Parameters of GetPartsInPart from (part: Instance, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 486 Change ThreadSafety of Raycast from ReadOnly to Safe
- 486 Change ThreadSafety of FindPartsInRegion3 from ReadOnly to Safe
- 483 Change Parameters of IKMoveTo from (part: Instance, target: CFrame, translateStiffness: float = 0.5, rotateStiffness: float = 0.5, collisionsMode: IKCollisionsMode = OtherMechanismsAnchored) to (part: BasePart, target: CFrame, translateStiffness: float = 0.5, rotateStiffness: float = 0.5, collisionsMode: IKCollisionsMode = OtherMechanismsAnchored)
- 470 Add GetPartsInPart
- 470 Add GetPartBoundsInRadius
- 470 Add GetPartBoundsInBox
- 462 Change ThreadSafety of findPartsInRegion3 from to Unsafe
- 462 Change ThreadSafety of findPartOnRay from to Unsafe
- 462 Change ThreadSafety of SetInsertPoint from to Unsafe
- 462 Change ThreadSafety of Raycast from to ReadOnly
- 462 Change ThreadSafety of IsRegion3EmptyWithIgnoreList from to Unsafe
- 462 Change ThreadSafety of IsRegion3Empty from to Unsafe
- 462 Change ThreadSafety of IKMoveTo from to Unsafe
- 462 Change ThreadSafety of FindPartsInRegion3WithWhiteList from to Unsafe
- 462 Change ThreadSafety of FindPartsInRegion3WithIgnoreList from to Unsafe
- 462 Change ThreadSafety of FindPartsInRegion3 from to ReadOnly
- 462 Change ThreadSafety of FindPartOnRayWithWhitelist from to Unsafe
- 462 Change ThreadSafety of FindPartOnRayWithIgnoreList from to Unsafe
- 462 Change ThreadSafety of FindPartOnRay from to Unsafe
- 462 Change ThreadSafety of BulkMoveTo from to Unsafe
- 462 Change ThreadSafety of ArePartsTouchingOthers from to Unsafe
- 454 Change MemoryCategory of WorldRoot from Instances to PhysicsParts
- 452 Change MemoryCategory of WorldRoot from PhysicsParts to Instances
- 453 Change MemoryCategory of WorldRoot from Instances to PhysicsParts
- 442 Change Tags of FindPartOnRayWithWhitelist from [] to [Deprecated]
- 442 Change Tags of FindPartOnRayWithIgnoreList from [] to [Deprecated]
- 442 Change Tags of FindPartOnRay from [] to [Deprecated]
- 438 Change Parameters of Raycast from (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, FilterDescendantsInstances={}}) to (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 435 Add BulkMoveTo
- 434 Add ArePartsTouchingOthers
- 431 Add SetInsertPoint
- 429 Remove SetInsertPoint
- 430 Add SetInsertPoint
- 427 Remove IkMoveTo
- 427 Add IKMoveTo
- 422 Change ReturnType of Raycast from Tuple to RaycastResult
- 420 Add Raycast
- 419 Remove Raycast
- 420 Add Raycast
- 418 Add IkMoveTo
- 410 Add findPartsInRegion3
- 410 Add findPartOnRay
- 410 Add IsRegion3EmptyWithIgnoreList
- 410 Add IsRegion3Empty
- 410 Add FindPartsInRegion3WithWhiteList
- 410 Add FindPartsInRegion3WithIgnoreList
- 410 Add FindPartsInRegion3
- 410 Add FindPartOnRayWithWhitelist
- 410 Add FindPartOnRayWithIgnoreList
- 410 Add FindPartOnRay
- 410 Add WorldRoot
Members 25
ArePartsTouchingOthers
Parameters (2) | Default | |
---|---|---|
partList | Objects | |
overlapIgnored | float | 0.000199999995 |
Returns (1) | ||
bool |
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of ArePartsTouchingOthers from to Unsafe
- 434 Add ArePartsTouchingOthers
Blockcast
Parameters (4) | Default | |
---|---|---|
cframe | CFrame | |
size | Vector3 | |
direction | Vector3 | |
params | RaycastParams | RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}} |
Returns (1) | ||
RaycastResult |
Thread safety | Safe |
---|
BulkMoveTo
Parameters (3) | Default | |
---|---|---|
partList | Objects | |
cframeList | Array | |
eventMode | BulkMoveMode | FireAllEvents |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of BulkMoveTo from void to null
- 462 Change ThreadSafety of BulkMoveTo from to Unsafe
- 435 Add BulkMoveTo
CacheCurrentTerrain
Parameters (3) | ||
---|---|---|
id | string | |
center | Vector3 | |
radius | float | |
Returns (1) | ||
string |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
ClearCachedTerrain
Parameters (1) | ||
---|---|---|
id | string | |
Returns (1) | ||
bool |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
FindPartOnRay
Parameters (4) | Default | |
---|---|---|
ray | Ray | |
ignoreDescendantsInstance | Instance | Instance |
terrainCellsAreCubes | bool | false |
ignoreWater | bool | false |
Returns (1) | ||
Tuple |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. Raycast should be used instead.
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of FindPartOnRay from to Raycast
- 462 Change ThreadSafety of FindPartOnRay from to Unsafe
- 442 Change Tags of FindPartOnRay from [] to [Deprecated]
- 410 Add FindPartOnRay
FindPartOnRayWithIgnoreList
Parameters (4) | Default | |
---|---|---|
ray | Ray | |
ignoreDescendantsTable | Objects | |
terrainCellsAreCubes | bool | false |
ignoreWater | bool | false |
Returns (1) | ||
Tuple |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. Raycast should be used instead.
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of FindPartOnRayWithIgnoreList from to Raycast
- 462 Change ThreadSafety of FindPartOnRayWithIgnoreList from to Unsafe
- 442 Change Tags of FindPartOnRayWithIgnoreList from [] to [Deprecated]
- 410 Add FindPartOnRayWithIgnoreList
FindPartOnRayWithWhitelist
Parameters (3) | Default | |
---|---|---|
ray | Ray | |
whitelistDescendantsTable | Objects | |
ignoreWater | bool | false |
Returns (1) | ||
Tuple |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. Raycast should be used instead.
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of FindPartOnRayWithWhitelist from to Raycast
- 462 Change ThreadSafety of FindPartOnRayWithWhitelist from to Unsafe
- 442 Change Tags of FindPartOnRayWithWhitelist from [] to [Deprecated]
- 410 Add FindPartOnRayWithWhitelist
FindPartsInRegion3
Parameters (3) | Default | |
---|---|---|
region | Region3 | |
ignoreDescendantsInstance | Instance | Instance |
maxParts | int | 20 |
Returns (1) | ||
Objects |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetPartBoundsInBox should be used instead.
Thread safety | Unsafe |
---|
History 6
- 553 Change PreferredDescriptor of FindPartsInRegion3 from to GetPartBoundsInBox
- 512 Change ThreadSafety of FindPartsInRegion3 from Safe to Unsafe
- 512 Change Tags of FindPartsInRegion3 from [] to [Deprecated]
- 486 Change ThreadSafety of FindPartsInRegion3 from ReadOnly to Safe
- 462 Change ThreadSafety of FindPartsInRegion3 from to ReadOnly
- 410 Add FindPartsInRegion3
FindPartsInRegion3WithIgnoreList
Parameters (3) | Default | |
---|---|---|
region | Region3 | |
ignoreDescendantsTable | Objects | |
maxParts | int | 20 |
Returns (1) | ||
Objects |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetPartBoundsInBox should be used instead.
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of FindPartsInRegion3WithIgnoreList from to GetPartBoundsInBox
- 512 Change Tags of FindPartsInRegion3WithIgnoreList from [] to [Deprecated]
- 462 Change ThreadSafety of FindPartsInRegion3WithIgnoreList from to Unsafe
- 410 Add FindPartsInRegion3WithIgnoreList
FindPartsInRegion3WithWhiteList
Parameters (3) | Default | |
---|---|---|
region | Region3 | |
whitelistDescendantsTable | Objects | |
maxParts | int | 20 |
Returns (1) | ||
Objects |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetPartBoundsInBox should be used instead.
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of FindPartsInRegion3WithWhiteList from to GetPartBoundsInBox
- 512 Change Tags of FindPartsInRegion3WithWhiteList from [] to [Deprecated]
- 462 Change ThreadSafety of FindPartsInRegion3WithWhiteList from to Unsafe
- 410 Add FindPartsInRegion3WithWhiteList
GetPartBoundsInBox
Parameters (3) | Default | |
---|---|---|
cframe | CFrame | |
size | Vector3 | |
overlapParams | OverlapParams | OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}} |
Returns (1) | ||
Objects |
Thread safety | Safe |
---|
History 4
- 549 Change Parameters of GetPartBoundsInBox from (cframe: CFrame, size: Vector3, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (cframe: CFrame, size: Vector3, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 512 Change ThreadSafety of GetPartBoundsInBox from Unsafe to Safe
- 509 Change Parameters of GetPartBoundsInBox from (cframe: CFrame, size: Vector3, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (cframe: CFrame, size: Vector3, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 470 Add GetPartBoundsInBox
GetPartBoundsInRadius
Parameters (3) | Default | |
---|---|---|
position | Vector3 | |
radius | float | |
overlapParams | OverlapParams | OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}} |
Returns (1) | ||
Objects |
Thread safety | Safe |
---|
History 4
- 549 Change Parameters of GetPartBoundsInRadius from (position: Vector3, radius: float, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (position: Vector3, radius: float, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 512 Change ThreadSafety of GetPartBoundsInRadius from Unsafe to Safe
- 509 Change Parameters of GetPartBoundsInRadius from (position: Vector3, radius: float, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (position: Vector3, radius: float, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 470 Add GetPartBoundsInRadius
GetPartsInPart
Parameters (2) | Default | |
---|---|---|
part | BasePart | |
overlapParams | OverlapParams | OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}} |
Returns (1) | ||
Objects |
Thread safety | Safe |
---|
History 5
- 549 Change Parameters of GetPartsInPart from (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 512 Change ThreadSafety of GetPartsInPart from Unsafe to Safe
- 509 Change Parameters of GetPartsInPart from (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 492 Change Parameters of GetPartsInPart from (part: Instance, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (part: BasePart, overlapParams: OverlapParams = OverlapParams{MaxParts=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 470 Add GetPartsInPart
IKMoveTo
Parameters (5) | Default | |
---|---|---|
part | BasePart | |
target | CFrame | |
translateStiffness | float | 0.5 |
rotateStiffness | float | 0.5 |
collisionsMode | IKCollisionsMode | OtherMechanismsAnchored |
Returns (1) | ||
null |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 573 Change ReturnType of IKMoveTo from void to null
- 483 Change Parameters of IKMoveTo from (part: Instance, target: CFrame, translateStiffness: float = 0.5, rotateStiffness: float = 0.5, collisionsMode: IKCollisionsMode = OtherMechanismsAnchored) to (part: BasePart, target: CFrame, translateStiffness: float = 0.5, rotateStiffness: float = 0.5, collisionsMode: IKCollisionsMode = OtherMechanismsAnchored)
- 462 Change ThreadSafety of IKMoveTo from to Unsafe
- 427 Add IKMoveTo
IsRegion3Empty
Parameters (2) | Default | |
---|---|---|
region | Region3 | |
ignoreDescendentsInstance | Instance | Instance |
Returns (1) | ||
bool |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetPartBoundsInBox should be used instead.
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of IsRegion3Empty from to GetPartBoundsInBox
- 512 Change Tags of IsRegion3Empty from [] to [Deprecated]
- 462 Change ThreadSafety of IsRegion3Empty from to Unsafe
- 410 Add IsRegion3Empty
IsRegion3EmptyWithIgnoreList
Parameters (2) | ||
---|---|---|
region | Region3 | |
ignoreDescendentsTable | Objects | |
Returns (1) | ||
bool |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetPartBoundsInBox should be used instead.
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of IsRegion3EmptyWithIgnoreList from to GetPartBoundsInBox
- 512 Change Tags of IsRegion3EmptyWithIgnoreList from [] to [Deprecated]
- 462 Change ThreadSafety of IsRegion3EmptyWithIgnoreList from to Unsafe
- 410 Add IsRegion3EmptyWithIgnoreList
Raycast
Parameters (3) | Default | |
---|---|---|
origin | Vector3 | |
direction | Vector3 | |
raycastParams | RaycastParams | RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}} |
Returns (1) | ||
RaycastResult |
Thread safety | Safe |
---|
History 9
- 549 Change Parameters of Raycast from (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 509 Change Parameters of Raycast from (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, CollisionGroup=Default, FilterDescendantsInstances={}}) to (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 486 Change ThreadSafety of Raycast from ReadOnly to Safe
- 462 Change ThreadSafety of Raycast from to ReadOnly
- 438 Change Parameters of Raycast from (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, FilterDescendantsInstances={}}) to (origin: Vector3, direction: Vector3, raycastParams: RaycastParams = RaycastParams{IgnoreWater=false, CollisionGroup=Default, FilterDescendantsInstances={}})
- 422 Change ReturnType of Raycast from Tuple to RaycastResult
- 420 Add Raycast
- 419 Remove Raycast
- 420 Add Raycast
RaycastCachedTerrain
Parameters (4) | ||
---|---|---|
id | string | |
origin | Vector3 | |
direction | Vector3 | |
ignoreWater | bool | |
Returns (1) | ||
RaycastResult |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
SetInsertPoint
Parameters (2) | Default | |
---|---|---|
point | Vector3 | |
ignoreGrid | bool | false |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 5
- 573 Change ReturnType of SetInsertPoint from void to null
- 462 Change ThreadSafety of SetInsertPoint from to Unsafe
- 431 Add SetInsertPoint
- 429 Remove SetInsertPoint
- 430 Add SetInsertPoint
Shapecast
Parameters (3) | Default | |
---|---|---|
part | BasePart | |
direction | Vector3 | |
params | RaycastParams | RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}} |
Returns (1) | ||
RaycastResult |
Thread safety | Unsafe |
---|
Spherecast
Parameters (4) | Default | |
---|---|---|
position | Vector3 | |
radius | float | |
direction | Vector3 | |
params | RaycastParams | RaycastParams{IgnoreWater=false, BruteForceAllSlow=false, RespectCanCollide=false, CollisionGroup=Default, FilterDescendantsInstances={}} |
Returns (1) | ||
RaycastResult |
Thread safety | Safe |
---|
History 2
- 572 Change ThreadSafety of Spherecast from Unsafe to Safe
- 569 Add Spherecast
StepPhysics
Parameters (2) | Default | |
---|---|---|
dt | float | |
parts | Objects | {} |
Returns (1) | ||
null |
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 616 Add StepPhysics
findPartOnRay
Parameters (4) | Default | |
---|---|---|
ray | Ray | |
ignoreDescendantsInstance | Instance | Instance |
terrainCellsAreCubes | bool | false |
ignoreWater | bool | false |
Returns (1) | ||
Tuple |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. Raycast should be used instead.
Thread safety | Unsafe |
---|
History 3
- 553 Change PreferredDescriptor of findPartOnRay from to Raycast
- 462 Change ThreadSafety of findPartOnRay from to Unsafe
- 410 Add findPartOnRay
findPartsInRegion3
Parameters (3) | Default | |
---|---|---|
region | Region3 | |
ignoreDescendantsInstance | Instance | Instance |
maxParts | int | 20 |
Returns (1) | ||
Objects |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetPartBoundsInBox should be used instead.
Thread safety | Unsafe |
---|
History 3
- 553 Change PreferredDescriptor of findPartsInRegion3 from to GetPartBoundsInBox
- 462 Change ThreadSafety of findPartsInRegion3 from to Unsafe
- 410 Add findPartsInRegion3