PhysicsSettingsクラス

クラスサービス(game:GetService("PhysicsSettings")で取り出す)Instance.newでは作れない日本語解説は準備中

ひとことで言うと

PhysicsSettingsは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Lets you view debugging features in Roblox's physics engine, found under the Physics tab in Studio's settings menu.

クラスの関係

受け継いでいるクラス:Object → Instance → PhysicsSettings

プロパティ(27)

名前と書き方説明
AllowSleep
PhysicsSettings.AllowSleep: boolean
When set to true, physically simulated objects will stop being simulated if they have little to no motion for a set period of time.
AreAnchorsShown
PhysicsSettings.AreAnchorsShown: boolean
When set to true, parts that are BasePart.Anchored will show a gray surface outline on the surface of the part's bounding box that is currently facing the ground.
AreAssembliesShown
PhysicsSettings.AreAssembliesShown: boolean
When set to true, each physics assembly is assigned a unique color and the Part associated with the assembly are outlined with the color. Parts that are attached together by JointInstance will share the same color.
AreAwakePartsHighlighted
PhysicsSettings.AreAwakePartsHighlighted: boolean
When set to true, parts that are actively being physically simulated will have a red outline.
AreBodyTypesShown
PhysicsSettings.AreBodyTypesShown: boolean
When set to true, Part will be outlined with a specific color, depending on the state of its root simulation body.
AreContactIslandsShown
PhysicsSettings.AreContactIslandsShown: boolean
When set to true, each contact island will render SelectionBox adorns on the parts in contact islands, where each contact island is assigned a random color.
AreContactPointsShown
PhysicsSettings.AreContactPointsShown: boolean
When set to true, sphere adorns will be drawn at the contact points of each part where physics interactions are occurring.
AreJointCoordinatesShown
PhysicsSettings.AreJointCoordinatesShown: boolean
When set to true, XYZ axes are rendered at the BasePart.CFrame of every part.
AreMechanismsShown
PhysicsSettings.AreMechanismsShown: boolean
When set to true, every individual mechanism of parts is given a unique color.
AreModelCoordsShown
PhysicsSettings.AreModelCoordsShown: boolean
An ancient property that hasn't work correctly since late 2007. It's supposed to render an XYZ axis on the root part of a Model, but the axis rendering component doesn't work correctly.
AreNonAnchorsShown
PhysicsSettings.AreNonAnchorsShown: boolean
When set to true, parts that are not BasePart.Anchored will be highlighted.
AreOwnersShown
PhysicsSettings.AreOwnersShown: boolean
When set to true, each player's character is outlined with a unique color, and each part that the player has network ownership over is outlined with the same color.
ArePartCoordsShown
PhysicsSettings.ArePartCoordsShown: boolean
An ancient property that hasn't worked correctly since late 2007. It's supposed to render a large XYZ axis in the center of each BasePart, but the axis rendering component doesn't work correctly.
AreRegionsShown
PhysicsSettings.AreRegionsShown: boolean
When set to true, a cylinder is drawn around each player's character, representing their Player.SimulationRadius.
AreTerrainReplicationRegionsShown
PhysicsSettings.AreTerrainReplicationRegionsShown: boolean
When set to true, shows terrain replication streaming regions.
AreUnalignedPartsShown
PhysicsSettings.AreUnalignedPartsShown: boolean
When set to true, parts that aren't aligned on the 1x1x1 grid will be outlined yellow.
AreWorldCoordsShown
PhysicsSettings.AreWorldCoordsShown: boolean
An ancient property that hasn't worked correctly since late 2007. It's supposed to render a large XYZ axis in the center of the world, but the axis rendering component doesn't work correctly.
DisableCSGv2
PhysicsSettings.DisableCSGv2: boolean
When set to true, Roblox will fall back to using its legacy CSG solver when performing solid model operations.
DisableCSGv3ForPlugins
PhysicsSettings.DisableCSGv3ForPlugins: boolean
When set to true, disables CSGv3 for plugin solid modeling operations.
DrawShapecast
PhysicsSettings.DrawShapecast: boolean
When set to true, draws the swept volume and hit result of shapecast queries.
IsInterpolationThrottleShown
PhysicsSettings.IsInterpolationThrottleShown: boolean
When set to true, shows physics interpolation throttle information.
IsReceiveAgeShown
PhysicsSettings.IsReceiveAgeShown: boolean
This property is supposed to show the BasePart.ReceiveAge of a part, but it does not work correctly.
IsTreeShown
PhysicsSettings.IsTreeShown: boolean
When set to true, the joint connections of each part, and the states of their underlying primitive components are visualized as a spanning tree.
PhysicsEnvironmentalThrottle
PhysicsSettings.PhysicsEnvironmentalThrottle: EnviromentalPhysicsThrottle
Controls the throttle rate of Roblox's physics engine.
ShowDecompositionGeometry
PhysicsSettings.ShowDecompositionGeometry: boolean
When set to true, the underlying collision geometry for PartOperation and MeshPart is rendered.
ThrottleAdjustTime
PhysicsSettings.ThrottleAdjustTime: double
If the PhysicsSettings.PhysicsEnvironmentalThrottle is set to DefaultAuto, this specifies the maximum time that the physics environmental throttle has to wait before it is allowed to automatically change.
UseCSGv2
PhysicsSettings.UseCSGv2: boolean
If set to true, version 2 of Roblox's CSG solver will be used instead of version 1.

受け継いでいるメンバー

Instance から受け継いでいるもの(46)

Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged

Object から受け継いでいるもの(4)

ClassName・GetPropertyChangedSignal・IsA・Changed

英語の説明とメンバーの一覧は、Roblox Creator Documentation(PhysicsSettings)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む