Attached to anything that can open. Drawers/cabinets are clamped to not over close/open
More...
|
void | slideOut (float mouseInput) |
| Translates door based on mouseinput from vertical axis (x axis) Clamps the door from pulling past its original location and the slide max More...
|
|
void | slideOutZ (float mouseInput) |
| Translates drawer based on mouseinput from vertical axis on the z axis Clamps the door from pulling past its original location and the slide max More...
|
|
void | swingOut (float mouseInput) |
| Rotates door by right/left hinge (y axis) Clamps door from swinging past original location and hingemax More...
|
|
void | swingDown (float mouseInput) |
| Rotates door on its bottom hinge (z axis) Clamps door from swinging past original location and hinge max More...
|
|
void | toiletSeat (float mouseInput) |
| Rotates toilet seat cover z axis Clamps from exceeding 95 degrees and below 0 More...
|
|
void | ActivateDrawer () |
|
void | AutoSlideOut (float speedDirection) |
|
Attached to anything that can open. Drawers/cabinets are clamped to not over close/open
void Open.ActivateDrawer |
( |
| ) |
|
void Open.AutoSlideOut |
( |
float |
speedDirection | ) |
|
void Open.slideOut |
( |
float |
mouseInput | ) |
|
Translates door based on mouseinput from vertical axis (x axis) Clamps the door from pulling past its original location and the slide max
- Parameters
-
mouseInput | vertical axis mouse input |
void Open.slideOutZ |
( |
float |
mouseInput | ) |
|
Translates drawer based on mouseinput from vertical axis on the z axis Clamps the door from pulling past its original location and the slide max
- Parameters
-
mouseInput | vertical axis mouse input |
void Open.swingDown |
( |
float |
mouseInput | ) |
|
Rotates door on its bottom hinge (z axis) Clamps door from swinging past original location and hinge max
- Parameters
-
mouseInput | vertical mouse input |
void Open.swingOut |
( |
float |
mouseInput | ) |
|
Rotates door by right/left hinge (y axis) Clamps door from swinging past original location and hingemax
- Parameters
-
mouseInput | horizontal mouse input |
void Open.toiletSeat |
( |
float |
mouseInput | ) |
|
Rotates toilet seat cover z axis Clamps from exceeding 95 degrees and below 0
- Parameters
-
mouseInput | vertical mouse input |
bool Open.isClosed = true |
The documentation for this class was generated from the following file:
- C:/Users/3D Intern/Documents/CornellTech-Unity3D/Assets/Scripts/Interactions/Open.cs