SurfaceInput (Property): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
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 = (side)SurfaceInput
name = (side)SurfaceInput
Line 10: Line 7:
|object      = [[GBX.lua.BasePart (Object)|BasePart]]
|object      = [[GBX.lua.BasePart (Object)|BasePart]]
}}</onlyinclude>
}}</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;"

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