|
| |||||||
| Wiremod Tutorials Post your wiremod tutorials/guides here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | |
| Advanced Member ![]() Join Date: Aug 2008 Location: San Diego, Kalifornien
Posts: 107
![]() | Hello, Oberstleutnant Tibbles here, and I've run into a problem! I'm trying to create an expression that allows a helicopter to Pitch and roll via looking up/down and left/right. For example, When u look down, the helicopter pitches down, when u look left it rolls left, and vice-versa. If you complete this task, you will receive... One, Sugar Frosted cookie with rainbow sprinkles. This cookie will be sent via eMail, where you can then download it and eat it. Mit Freundlichen Grüßen
__________________ Quote:
Last edited by Officer Tibbles; 10-09-2008 at 03:57 PM.. | |
| | |
| Sponsored Links | |
| | #2 (permalink) |
| Advanced Member ![]() Join Date: Mar 2008 Location: East Midlands, England
Posts: 100
![]() | Using Bearing and Elevation outputs from the pod? I'm not sure how you'd do this exactly, I've not been on gmod for a while. The only trouble with controlling them like this is how sensitive it is to movement. Unless you were to use a system where it only works outside 30 by -30 elevation and pitch. |
| | |
| | #4 (permalink) | |
| Advanced Member ![]() Join Date: Oct 2008 Location: In a house.
Posts: 192
![]() | Have relative on the pod controller hooked to a CV of 1. Code: I@Bear Elev O@Pitch Roll interval(500) Pitch = Elev Elev > 5 -> Elev = 5; Elev < -5 -> Elev = -5; #That Controls Up And Down Roll = Bear Bear > 5 -> Bear = 5; Bear < -5 -> Bear = -5; #That Does Roll Pitch > 45 -> Pitch = 45; Pitch < -45 -> Pitch = -45; #Prevents 180 Degree Flips Roll > 45 -> Roll = 45; Roll < -45 -> Roll = -45; #Stops Barrel Rolls I'm assuming the roll is some kind of turn system?
__________________ Quote:
Last edited by Asphid_Jackal; 10-17-2008 at 04:08 PM.. Reason: Forgot to add code tags | |
| | |
| Sponsored Links | |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|