wiki.sine.space | sinespace

Difference between revisions of "Scripting/SBoxCollider"

From wiki.sine.space
Jump to: navigation, search
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sboxcollider")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Properties==
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sboxcollider
 
+
{{ScriptFunction|SVector|Center|[get, set]|The center of the box.|5=<pre>Center = Space.Host.ExecutingObject.BoxCollider.Center</pre>}}
+
 
+
{{ScriptFunction|SVector|Size|[get, set]|The size of the box.|5=<pre>Size= Space.Host.ExecutingObject.BoxCollider.Size</pre>|6=<pre></pre>}}
+
}}
+
 
+
{{ScriptFunction|bool|Enabled|[get, set]|Enabled Colliders will collide with other Colliders, disabled Colliders won't.|5=<pre>Space.Host.ExecutingObject.BoxCollider.Enabled = false</pre>|6=<pre></pre>}}
+
 
+
{{ScriptFunction|bool|IsTrigger|[get, set]|Is the collider a trigger?|5=<pre>Space.Host.ExecutingObject.BoxCollider.Enabled = true</pre>|6=<pre></pre>}}
+
 
+
{{Scripting Navbox}}
+

Latest revision as of 05:17, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sboxcollider