|
Author
|
Topic: DOF moving vehicles driving around airfields.Possible?
|
Rendsburger Pilot
|
posted 12-12- 01:04 PM
Iīm thinking to add vehicles to airfields and they should move around. Is it possible to create a vehicle that drives a distance forward, moving into a curve, driving forward etc. If yes how?Rendsburger IP: Logged |
Pierre Radiateur Pilot
|
posted 12-12- 01:07 PM
You could make a vehicle circle around a point ... you put the model in, set it well off centre, and put a DOF that rotates at the centre. You set it to loop, and there you go. It will circle forever without stopping .....------------------ The Pilot formerly known as W.T.G. IP: Logged |
Snickers Pilot
|
posted 12-12- 02:10 PM
If you wanted to be a touch different (or you dont like going in circles like Pierre does ) Instead of using rotate, you should be able to use translate to make a vehicle drive a perimiter. Use rotate at the end of each track segment to turn the vehicle so it is facing the right direction (it would look a little silly to see a halftrack go sideways... ) If you set timings correctly you _should_ be able to make it drive the perimeter indefinately. Good idea BTW....IP: Logged |
Rendsburger Pilot
|
posted 12-12- 06:23 PM
can anyone give me an example of a translation and rotation in one dof?I donīt want to make a single circle more then following the exsisting streets whe already have at some airfields at dover and rhinland Rendsburger IP: Logged |
jgro Pilot
|
posted 12-12- 10:42 PM
SV has a tutorial that might help you out. http://www.wingswithwires.com/chickencoop/se5a/docs/dofs.htm jgro IP: Logged |
Rendsburger Pilot
|
posted 12-18- 06:40 AM
The problem i have is to create a DOF that moves forward and after a while into a curve. For now i can only create dofs with one moving (forward or curve) . Ideas?Rendsburger IP: Logged |
Snickers Pilot
|
posted 12-18- 10:37 AM
Seems to me that Pete Hawk is the best at gettings DOFs to do things they werent meant to.... Pete, you out there???IP: Logged |
Harman5 Cadet
|
posted 12-18- 10:53 AM
Well I'm no DOF expert, but how about this?Create an invisible parent object just above the vehicle (in the model list), give that the "forward" (translate) DOF. Now for the vehicle model itself, give that the "curve" DOF. Now make the "curve" DOF have a begin delay so it doesn't start until the parent "forward" DOF has stopped working. I'm not sure if this system would allow for looping though. IP: Logged |
Sv JAG
|
posted 12-18- 11:39 AM
Place an invisable LODless object at the center of the airfield. This is where the object will be placed in the mission editor. Now have some hidden children objects... each can have a DOF that moves it's child. Now you can set each DOF to move in the direction you need, when you need it... and they can all loop.But here are the problems: 1. If your vehicle runs into any slight hills, it will float in the air or disappear under the ground. 2. If you use rotate you could get an object to appear to do a cicle, but if you mix in any translate DOFS to try and change the shape, then the vihicle will not stay pointed in the direction it is going. What we really need is a clever programmer to finish the vehicle code... so that the target=wheel engine works to drive the vehicle, and add the needed AI so that vehicles can follow way-points. Also some collision avoidance, etc. Too bad SDOE never made it as far as A10-Attack, now that game had some very smart AI vehicles! ------------------ -Sv Wings with Wires IP: Logged |