PhysicsService¶
Service that provides methods for creating and managing collision groups, which control whether sets of BaseParts collide with each other.
Partially implemented
The class exists, but the modern collision-group methods (CreateCollisionGroup, CollisionGroupSetCollidable, ...) are not exposed. BasePart.CollisionGroup/CollisionGroupId properties exist.
Description¶
PhysicsService primarily contains methods for working with collision groups which define whether a set of parts may or may not collide with parts in other collision groups. You can register a collision group through RegisterCollisionGroup() and assign parts to it by setting those parts' CollisionGroup property to the name of the collision group.
Creating, deleting, and modifying collision relationships between collision groups is limited to server-side Scripts.
See Collision Filtering for usage details in Studio and within scripts.
Inheritance¶
Object → Instance → PhysicsService
Nova inheritance: Instance → PhysicsService
Inherited members¶
Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.
17 modern Roblox member(s) are not implemented yet — expand to inspect
Members declared by Roblox's PhysicsService class (or by a missing base class) that Nova does not expose. Use this list to scope a migration; the compatibility guide has the recommended workaround.
Methods¶
| Member | Signature | Status | Notes | Flags |
|---|---|---|---|---|
CollisionGroupContainsPart |
PhysicsService:CollisionGroupContainsPart(name: string, part: BasePart): bool |
Not yet | Returns whether the part is in the collision group. | PreferredDescriptorName, ThreadSafety, PreferredDescriptorN… |
CollisionGroupsAreCollidable |
PhysicsService:CollisionGroupsAreCollidable(name1: string, name2: string): bool |
Not yet | Returns whether the two groups will collide. | — |
CollisionGroupSetCollidable |
PhysicsService:CollisionGroupSetCollidable(name1: string, name2: string, collidable: bool): null |
Not yet | Sets the collision status between two groups. | — |
CreateCollisionGroup |
PhysicsService:CreateCollisionGroup(name: string): int |
Not yet | Creates a new collision group with the given name, and returns the ID of the created group. | PreferredDescriptorName, ThreadSafety, PreferredDescriptorN… |
GetCollisionGroupId |
PhysicsService:GetCollisionGroupId(name: string): int |
Not yet | Returns the ID of the collision group with the specified name. | PreferredDescriptorName, ThreadSafety, PreferredDescriptorN… |
GetCollisionGroupName |
PhysicsService:GetCollisionGroupName(name: int): string |
Not yet | Returns the name of the group with the corresponding ID. | PreferredDescriptorName, ThreadSafety, PreferredDescriptorN… |
GetCollisionGroups |
PhysicsService:GetCollisionGroups(): Array |
Not yet | Returns a table with info on all of the place's collision groups. | PreferredDescriptorName, ThreadSafety, PreferredDescriptorN… |
GetMaxCollisionGroups |
PhysicsService:GetMaxCollisionGroups(): int |
Not yet | Returns the maximum number of collision groups. | — |
GetRegisteredCollisionGroups |
PhysicsService:GetRegisteredCollisionGroups(): Array |
Not yet | Returns a table with info on all of the place's collision groups. | — |
IkSolve |
PhysicsService:IkSolve(part: BasePart, target: CFrame, translateStiffness: float, rotateStiffness: float): null |
Not yet | — | RobloxScriptSecurity |
IsCollisionGroupRegistered |
PhysicsService:IsCollisionGroupRegistered(name: string): bool |
Not yet | Checks if a collision group is registered. | — |
LocalIkSolve |
PhysicsService:LocalIkSolve(part: BasePart, target: CFrame, translateStiffness: float, rotateStiffness: float): null |
Not yet | — | LocalUserSecurity |
RegisterCollisionGroup |
PhysicsService:RegisterCollisionGroup(name: string): null |
Not yet | Registers a new collision group with the given name. | — |
RemoveCollisionGroup |
PhysicsService:RemoveCollisionGroup(name: string): null |
Not yet | Removes the collision group with the given name. | PreferredDescriptorName, ThreadSafety, PreferredDescriptorN… |
RenameCollisionGroup |
PhysicsService:RenameCollisionGroup(from: string, to: string): null |
Not yet | Renames specified collision group. | — |
SetPartCollisionGroup |
PhysicsService:SetPartCollisionGroup(part: BasePart, name: string): null |
Not yet | Sets the collision group of a part. | PreferredDescriptorName, ThreadSafety, PreferredDescriptorN… |
UnregisterCollisionGroup |
PhysicsService:UnregisterCollisionGroup(name: string): null |
Not yet | Unregisters the collision group for the given name. | — |
Roblox reference: PhysicsService
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.