ground collision

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
chasman
Posts: 1
Joined: Sun Jun 08, 2008 9:14 pm

ground collision

Post by chasman » Sun Jun 08, 2008 9:28 pm

I am going through the trial. I only have 24 hours so I hope I get a response quick!

I have a need for 4 wheel sims for a project I am working on but I need a deformed terrain. How do I get the vehicle to collide with the ground? I dug through the tutorials and docs. I missed something.

I would like to recreate the Craft 4-Wheeler: Ragdoll Roadkill demo in the gallery.

any help would be appreciated,

thanks!

Stefan_40
Posts: 22
Joined: Fri May 16, 2008 5:16 pm
Contact:

Re: ground collision

Post by Stefan_40 » Mon Jun 09, 2008 8:16 am

Hello

When you create a Craft 4-wheeler helper, under the car, you will see a green arrow called GravityDirectionMesh. That arrow needs to be linked to your ground plane. When you have linked it and pressed the record button, the car will "fall down" to your ground object and then follow the surface.

Here is a link to the manual:
http://www.craftanimations.com/index.cf ... 515E9A19BD

And here is a link to a tutorial:
http://www.craftanimations.com/index.cf ... F735792452

Good luck!

Stefan Törnqvist

Stefan_40
Posts: 22
Joined: Fri May 16, 2008 5:16 pm
Contact:

Re: ground collision

Post by Stefan_40 » Mon Jun 09, 2008 8:18 am

Also, if you need a suface that is deformed, just use a noise modifier or something on the plane object!

/Stefan

Carl Buhre
Quality Assurance Consultant
Posts: 438
Joined: Mon Feb 25, 2008 12:59 pm
Location: Gothenburg, Sweden
Contact:

Re: ground collision

Post by Carl Buhre » Mon Jun 09, 2008 8:23 am

Stefan_40 wrote:Hello

When you create a Craft 4-wheeler helper, under the car, you will see a green arrow called GravityDirectionMesh. That arrow needs to be linked to your ground plane. When you have linked it and pressed the record button, the car will "fall down" to your ground object and then follow the surface.

Here is a link to the manual:
http://www.craftanimations.com/index.cf ... 515E9A19BD

And here is a link to a tutorial:
http://www.craftanimations.com/index.cf ... F735792452

Good luck!

Stefan Törnqvist
It's a red arrow, not green, other than that this was a perfect response. Thanks Stefan_40 and I hope this got you started Chasman.

Stefan_40
Posts: 22
Joined: Fri May 16, 2008 5:16 pm
Contact:

Re: ground collision

Post by Stefan_40 » Mon Jun 09, 2008 8:24 am

Yes, It´s a RED arrow, I know that... Something slipped my mind there *lol*

vegar
Posts: 5
Joined: Tue Jul 08, 2008 12:25 pm

Re: ground collision

Post by vegar » Tue Jul 08, 2008 12:59 pm

Hello
i made a test with a ground with relief , a plane with a hill, but the car doesn't follow the relief of terrain. It go throw the hill. I link the green with the ground but always without result.

Regards
Fem

Carl Buhre
Quality Assurance Consultant
Posts: 438
Joined: Mon Feb 25, 2008 12:59 pm
Location: Gothenburg, Sweden
Contact:

Re: ground collision

Post by Carl Buhre » Tue Jul 08, 2008 1:03 pm

vegar wrote:Hello
i made a test with a ground with relief , a plane with a hill, but the car doesn't follow the relief of terrain. It go throw the hill. I link the green with the ground but always without result.

Regards
Fem
Hello Fem, do you think I can take a look at your scene? Or could you post a screenshot of the problem to better describe it?

vegar
Posts: 5
Joined: Tue Jul 08, 2008 12:25 pm

Re: ground collision

Post by vegar » Tue Jul 08, 2008 1:22 pm

Hello
here is the print screen
Image

Regards
Fem

Patrik Martin
Partner
Posts: 416
Joined: Mon Feb 25, 2008 1:07 pm
Location: Gothenburg, Sweden
Contact:

Re: ground collision

Post by Patrik Martin » Tue Jul 08, 2008 1:37 pm

Hello Vegar and welcome to our forum!

The mesh you must link/parent to the ground is the GravityDirectionMesh that is under the 4-Wheeler Extended rigg. I guess you are linking/parenting the TargetMesh to the ground. This is wrong. The TargetMesh is used when creating autonomous animations ie. using a spline for the 4-Wheeler to follow.

Here is a detail image of the different meshes on the 4-Wheeler Extended. You can find the GravityDirectionMesh in the bottom of this image. It's mesh look like an arrow pointing downwards. Link/Parent this mesh to the ground you are going to drive on.
Image

Also, check out the video tutorial for Craft 4-Wheeler Extended here: http://www.craftanimations.com/index.cf ... F735792452

good luck! :)
Partner
http://www.craftanimations.com
patrik.martin-at-craftanimations.com

vegar
Posts: 5
Joined: Tue Jul 08, 2008 12:25 pm

Re: ground collision

Post by vegar » Tue Jul 08, 2008 2:23 pm

Yes , it work very well
In fact, it's as you said, we must link/parent to the ground objet with GravityDirectionMesh. The colisont with vehicle and other object works very well.

I congratulate you for developement of this plugins. Is very powerfull. With reactor we have to past a long long time to configure for a simple vehicle.
I tested Vehicle Sim of Newplugins, and other plugins but without satisfaction, and many bug.

Your plugins it's the best.

Thanks.

Carl Buhre
Quality Assurance Consultant
Posts: 438
Joined: Mon Feb 25, 2008 12:59 pm
Location: Gothenburg, Sweden
Contact:

Re: ground collision

Post by Carl Buhre » Tue Jul 08, 2008 3:54 pm

vegar wrote:Yes , it work very well
In fact, it's as you said, we must link/parent to the ground objet with GravityDirectionMesh. The colisont with vehicle and other object works very well.

I congratulate you for developement of this plugins. Is very powerfull. With reactor we have to past a long long time to configure for a simple vehicle.
I tested Vehicle Sim of Newplugins, and other plugins but without satisfaction, and many bug.

Your plugins it's the best.

Thanks.
Thank you very much Vegar, I'm glad to hear you got everything working. Let us know if you run into any other problems or have any questions.

vegar
Posts: 5
Joined: Tue Jul 08, 2008 12:25 pm

Re: ground collision

Post by vegar » Wed Jul 09, 2008 12:14 pm

Hello , i'm back again

I made some test with another ground. Now the ground is in 2 parts and the car must jump from the 1st ground to the 2nd ground.
Look this movie please. http://krasniqi.fehmi.free.fr/craft/Untitled.html

Regards
Fem

Carl Buhre
Quality Assurance Consultant
Posts: 438
Joined: Mon Feb 25, 2008 12:59 pm
Location: Gothenburg, Sweden
Contact:

Re: ground collision

Post by Carl Buhre » Wed Jul 09, 2008 12:23 pm

vegar wrote:Hello , i'm back again

I made some test with another ground. Now the ground is in 2 parts and the car must jump from the 1st ground to the 2nd ground.
Look this movie please. http://krasniqi.fehmi.free.fr/craft/Untitled.html

Regards
Fem
In order to make Craft 4-Wheeler Extended interact with both of those ground objects you first need to combine them into the same object. Simply right click on the boxes and convert them to Editable mesh and then through the Modify tab, select Attach and select the other box and they'll be combined.

Carl Buhre
Quality Assurance Consultant
Posts: 438
Joined: Mon Feb 25, 2008 12:59 pm
Location: Gothenburg, Sweden
Contact:

Re: ground collision

Post by Carl Buhre » Wed Jul 09, 2008 12:45 pm

Oh, and of course make sure that Enable Jumping is checked in the Configuration for Craft 4-Wheeler Extended.

vegar
Posts: 5
Joined: Tue Jul 08, 2008 12:25 pm

Re: ground collision

Post by vegar » Wed Jul 09, 2008 12:59 pm

Yes it' works
I have atached all objects to one Editable mesh but the "Jumping" was not selected and configureted.
I think Carl you must make un video tutorial (screen tutorial) for these features. I know that it take time.

Regards Fem

Carl Buhre
Quality Assurance Consultant
Posts: 438
Joined: Mon Feb 25, 2008 12:59 pm
Location: Gothenburg, Sweden
Contact:

Re: ground collision

Post by Carl Buhre » Wed Jul 09, 2008 3:58 pm

vegar wrote:Yes it' works
I have atached all objects to one Editable mesh but the "Jumping" was not selected and configureted.
I think Carl you must make un video tutorial (screen tutorial) for these features. I know that it take time.

Regards Fem
I'm glad you got it working. Instead of checking the "Enable Jumping" checkbox, to get the best results when jumping with Craft 4-Wheeler Extended you should load one of the Configuration profiles called:

Car With Jump Settings (Rally),
Car With Trick Jump Settings
-or-
Moon Buggy With Jump Settings

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests