WorldModel¶
Extends limited physics to its children.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
When parented to a ViewportFrame, WorldModel extends limited physics
for its children on to that ViewportFrame. For example,
BaseParts that are parented to the WorldModel can be
animated and spatially queried (for example by raycasts) but those parts are
not simulated. Furthermore, you can put Humanoid characters in the
WorldModel and their joints will be set up correctly for animation.
WorldModel also exposes the
UseWorkspaceCollisionGroups
property to determine whether it uses Workspace collision groups or
its own independent collision groups for queries.
To avoid possible performance issues, make sure to only create WorldModels
when you want to show them and to delete WorldModels that are currently not
in use.
Inheritance¶
Object → Instance → PVInstance → Model → WorldRoot → WorldModel
Properties¶
| Member | Signature | Summary |
|---|---|---|
UseWorkspaceCollisionGroups |
UseWorkspaceCollisionGroups: bool |
Determines whether this WorldModel uses Workspace collision groups or its own independent collision groups for queries. |
Roblox reference: WorldModel
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.