|
| | #1 (permalink) |
| Member ![]() Join Date: Aug 2007
Posts: 31
![]() | My idea was to have a vehicle, where when u get in, it would get your mouse trace, isn't that tr.GetPos() ? And a shadow controler would compute that, and smothly turn the prop or ent that was the vehicle in the direction of the tr.GetPos(). Then, W A S D would add a forward, back, right, or left value to the shadow controler to move you, and these speeds would be controled by wire inputs. I have no idea how to do any of this. Here is where i need help. 1) Entity:OnUse() So what do i put here so the player enters the vehicle animation and camera state. 2) How do i define tr as the player's mouse pos? 3) I need help seting up the shadow controler. 4) With the W A S D, how would i make the shadow controler add a speed in that direction? 5) Seting up the wire inputs, and conecting them to the problem #4. Thanks in advance.
__________________ ---------------------- Hi. |
| | |
| Sponsored Links | |
| | #3 (permalink) |
| Member ![]() Join Date: Jul 2008
Posts: 35
![]() | Um could you do this with what we have already. it sounds like instead of using A and D you use your mouse instead, in this case use a adv. pod controller to get mouse position, a beacon sensor and a few thrusters. If this is waht you mean I will try to explain it. |
| | |
| | #4 (permalink) |
| Advanced Member ![]() Join Date: May 2008
Posts: 177
![]() | adv_pod out puts bearing and Elev. so you could use a sign gate on the bearing. I made a plain that used the mouse for steering but I had to make the seat static so the bearing stayed the same when your ship moveds. Like a flight sim. |
| | |
| | #6 (permalink) |
| Wire Dev - Lazy ![]() Join Date: Mar 2007 Location: Birmigham,UK
Posts: 1,176
![]() ![]() | sin = trig sign != trig Sign just clamps a number to -1, 0 or 1
__________________ Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. ![]() My Colour is Blue. The great war of my sig has been moved here due to being bigger than most of my posts. |
| | |
| Sponsored Links | |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|