Align car to steep road

Got questions, comments and/or feedback regarding Craft Director Studio? Post them here.
Forum rules
We only allow posts that
  • Is in English
  • Is related to our tools and the programs they support.

If these rules are not met you are most likely going to be banned.

Please Note:
  • New users will have their posts reviewed before being publicly available for other to see.
Post Reply
User avatar
fredrik
Posts: 22
Joined: Tue Jul 22, 2008 2:32 pm
Location: Göteborg, Sweden
Contact:

Align car to steep road

Post by fredrik » Wed Jul 30, 2008 2:05 pm

I'm having issues with being able to make the car align with the road... I am aware of that this is not physically correct in any way:
Example movie (play back with VLC)

How can I make the car actually point towards the sky, launching up?
Right now the wheels are doing it right but not the chassis of the car...
Fredrik Averpil,
VFX Supervisor, Filmgate

User avatar
Luigi Tramontana
Posts: 358
Joined: Mon May 19, 2008 11:32 am
Location: Gothenburg, Sweden
Contact:

Re: Align car to steep road

Post by Luigi Tramontana » Wed Jul 30, 2008 4:53 pm

Hi Again.

That looks a bit freaky, the simulator actually allows for up-side-down driving.
My guess is that you have "Enable Jumping" checked. Yes?

// Luigi

User avatar
fredrik
Posts: 22
Joined: Tue Jul 22, 2008 2:32 pm
Location: Göteborg, Sweden
Contact:

Re: Align car to steep road

Post by fredrik » Thu Jul 31, 2008 1:00 pm

Nope, no jump enabled.

Actually, it seems like it might have something to do with the suspensions... I tweaked the maximum tilt angle and it looks much better now.
Fredrik Averpil,
VFX Supervisor, Filmgate

User avatar
Luigi Tramontana
Posts: 358
Joined: Mon May 19, 2008 11:32 am
Location: Gothenburg, Sweden
Contact:

Re: Align car to steep road

Post by Luigi Tramontana » Thu Jul 31, 2008 7:03 pm

Excellent!
Usually this has to do with collision detection and the car moving too fast. The simple solution is to temporarily increase the fps in your scene, say to 300. Record (or resimulate) the problematic parts and then simply set the fps back to whaterver you initially used.
When you apply the booster the suspension stiffens by the "booster suspension multiplier" functionality (because the car would otherwise become unstable at those speeds). When it stiffens it also much more difficult for the physics to change quickly such as when approaching a steep hill as in your clip.

Pepster3D
Posts: 13
Joined: Tue Sep 16, 2008 5:57 pm

Re: Align car to steep road

Post by Pepster3D » Thu Sep 18, 2008 6:37 pm

I am having the same type of problem. I wasn't able to view the sample video above, but I am using autonomous mode, and want my car to go up and down a few curves (hills). The Green target mesh moves along the spline, up and down, but the car follows in a straight line, as if it's on a flat road, and does not move along the curve. I tried increasing my maximum forward tilt angle in the suspension parameters but it didn't help. When I push the resimulate botton it does it fast (like 2 seconds) and it's done resimulating. But any change in that tilt angle does not help.

Pepster3D
Posts: 13
Joined: Tue Sep 16, 2008 5:57 pm

Re: Align car to steep road

Post by Pepster3D » Thu Sep 18, 2008 7:51 pm

Any other solutions? The car is still just moving along a straight ground level. Right now I have no ground plane, since I wanted the car to follow my nurbs spline instead.
Is my target mesh supposed to be linked to something?

User avatar
Luigi Tramontana
Posts: 358
Joined: Mon May 19, 2008 11:32 am
Location: Gothenburg, Sweden
Contact:

Re: Align car to steep road

Post by Luigi Tramontana » Fri Sep 19, 2008 8:48 am

Ok, your car does not interact with the nurbs/poly surface. For the car to know what ground to interact with you need to parent/link the gravityDirectionMesh to the surface.

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests