SurfaceInput (Property): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(Created page with "{{CatUp|Properties}} '''This property is a summery of 6 different properties that perform the same action. They are ''BackSurfaceInput'', ''BottomSurfaceInput'', ''FrontSurfa...")
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{CatUp|Properties}}
{{CatUp|Properties}}
 
'''This property is a summary of 6 different properties that perform the same action. They are ''BackSurfaceInput'', ''BottomSurfaceInput'', ''FrontSurfaceInput'', ''LeftSurfaceInput'', ''RightSurfaceInput'', and ''TopSurfaceInput''.'''
'''This property is a summery of 6 different properties that perform the same action. They are ''BackSurfaceInput'', ''BottomSurfaceInput'', ''FrontSurfaceInput'', ''LeftSurfaceInput'', ''RightSurfaceInput'', and ''TopSurfaceInput''.'''
 
 
{{Property|
{{Property|
name = SurfaceInput
name = (side)SurfaceInput
|property = [[Enum]] ''SurfaceInput''
|property = [[InputType (Enum)|InputType]] ''(side)SurfaceInput''
|description = Sets what the surface's input is.
|description = Sets what the surface's input is.
|object = [[GBX.lua.FlagStand (Object)|Flagstand]], [[GBX.lua.Part (Object)|Part]], [[GBX.lua.Seat (Object)|Seat]], [[GBX.lua.SpawnLocation (Object)|SpawnLocation]]
|object     = [[GBX.lua.BasePart (Object)|BasePart]]
|}}
}}</onlyinclude>
 
 


{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 1px solid #f00;"
{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 1px solid #f00;"
Line 22: Line 17:
|0
|0
|[[NoInput]]
|[[NoInput]]
|
|-
|-
|1
|1
|[[LeftTread]]
|[[LeftTread]]
|
|-
|-
|2
|2
|[[RightTread]]
|[[RightTread]]
|
|-
|-
|3
|3
|[[Steer]]
|[[Steer]]
|
|-
|-
|4
|4
|[[Throttle]]
|[[Throttle]]
|
|-
|-
|5
|5
|(unused)
|(unused)
|-
|
|0
|Smooth
|-
|-
|6
|6
|[[UpDown]]
|[[UpDown]]
|
|-
|-
|7
|7
|[[Action1]]
|[[Action1]]
|
|-
|-
|8
|8
|[[Action2]]
|[[Action2]]
|
|-
|-
|9
|9
|[[Action3]]
|[[Action3]]
|
|-
|-
|10
|10
|[[Action4]]
|[[Action4]]
|
|-
|-
|11
|11
|[[Action5]]
|[[Action5]]
|
|-
|-
|12
|12
|[[Constant]]
|[[Constant]]
|
|-
|-
|13
|13
|[[Sin]]
|[[Sin]]
|
|}
|}
[[Category:Properties]]

Latest revision as of 22:23, 23 September 2021

This property is a summary of 6 different properties that perform the same action. They are BackSurfaceInput, BottomSurfaceInput, FrontSurfaceInput, LeftSurfaceInput, RightSurfaceInput, and TopSurfaceInput.

Property
Name (side)SurfaceInput
Property InputType (side)SurfaceInput
Description: Sets what the surface's input is.
In Object: BasePart


The InputType Enum controls the SurfaceInput of the object Part. It holds 13 values:
Enum Name Description
0 NoInput
1 LeftTread
2 RightTread
3 Steer
4 Throttle
5 (unused)
6 UpDown
7 Action1
8 Action2
9 Action3
10 Action4
11 Action5
12 Constant
13 Sin