wiki.sine.space | sinespace

Difference between revisions of "Scripting/SCapsuleCollider"

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/scapsulecollider")
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/scapsulecollider
 
+
 
+
 
+
==Properties==
+
 
+
{{ScriptFunction|SVector|Center|[get, set]|The center of the capsule, measured in the object's local space.|5=<pre>Center = Space.Host.ExecutingObject.CapsuleCollider.Center</pre>|6=<pre></pre>}}
+
 
+
{{ScriptFunction|int|Direction|[get, set]|The direction of the capsule.|5=<pre> Direction = Space.Host.ExecutingObject.CapsuleCollider.Direction </pre>|6=<pre></pre>}}
+
 
+
{{ScriptFunction|float|Height|[get, set]|The height of the capsule measured in the object's local space.|5=<pre>Height= Space.Host.ExecutingObject.CapsuleCollider.Height</pre>|6=<pre></pre>}}
+
 
+
{{ScriptFunction|int|Radius|[get, set]|The radius of the capsule.|5= <pre>Radius = Space.Host.ExecutingObject.CapsuleCollider.Radius</pre>|6=<pre></pre>}}
+
 
+
{{ScriptFunction|bool|Enabled|[get, set]|Enabled Colliders will collide with other Colliders, disabled Colliders won't.|5=<pre>CapsuleCollider.Enabled </pre>|6=<pre></pre>}}
+
 
+
 
+
{{ScriptFunction|bool|IsTrigger|[get, set]|Is the collider a trigger?|5= <pre>Space.Host.ExecutingObject.CapsuleCollider.IsTrigger = false</pre>|6=<pre></pre>}}
+
 
+
 
+
 
+
{{Scripting Navbox}}
+

Latest revision as of 05:30, 19 September 2022

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