Vehicle with CustomJoint.

Share with us how are you using the powerrrr of the force

Moderator: Alain

Vehicle with CustomJoint.

Postby Dave Gravel » Sun Mar 23, 2008 7:04 am

You can set rear traction front traction and set 4x4 traction .
Arrow key to drive F1 F2 to change tractions, Space = break, H hard break.
You can use the mouse to pick the vehicle and place it on air to see the traction working.
The 4x4 tranction is very power full over the terrain in off-road (:

This demo is build totaly with custom joint and my source coming with the demo if someone is interested by it.
http://orionx3d.googlepages.com/CustumJ ... e_Demo.zip

PS:
If you have already seen this demo on a other post try this one because it is not exactly the same... :wink:

Don't forget it is only a experimental demo.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Postby Dave Gravel » Mon Mar 24, 2008 12:57 am

Here a other one.
The name of the demo say what it is.

Edited:
http://fr.youtube.com/watch?v=lQ2bY5rhG6k

http://orionx3d.googlepages.com/CustumJ ... r_Demo.zip
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Postby DarthPhysics » Mon Mar 24, 2008 8:16 am

Cool Demo :D
I'm sure we see soon the same with the BigFoot :wink:

Cya :D
The theory is when we know all but nothing work.
The practice is when everything work but no one know why. <- that is me :) without the 'everything work'
User avatar
DarthPhysics
 
Posts: 44
Joined: Sun Apr 23, 2006 8:57 pm
Location: Boulay-Moselle , France

Postby Julio Jerez » Mon Mar 24, 2008 10:43 am

I am going to make a little story here.
Once upon a time at a social gathering, a person ask a group of expert for they opinion about a flight machine he was planning to make.

All of the expert consult each other, and agree that a machine with those specification will never flight, because it violate some pseudo law of physic they have came up with. “They is no enough lift force for sustain the body” they said.

The engineer not knowing all these later advanced in the Laws of their brand new pseudo physics when ahead with his idea, and one day in another meeting he show these scientist he flight machine just like he proposed. And the other experts come that be, this violates the laws of physics”
And the maverick engineer reply, I took a copy from the design Bumblebee, I guess that the Bumblebee not know about all those laws you were taking about he just does what he want to do.

The demo remind me that story, for year the self appointed experts have say cars cannot be made with joints, and I guess that Master K00m not know why they cannot he just did it , and guess what it work.
I have to say I am guilty, of the same because if I do not see it I would not believe it.

The Internal car in 1.53 is an array of custom joint, but I post-process the tires after each integration step, but now that I see Master K00m demo I am very happy that I do not need to compiele the old car, instated I will copy his implementation and using the interface of the car in 1.53 I will implement the car with custom joint open source.

What I like about this is that, complex suspension system can be made like tire in axles and other moving parts.
So the SDK will have two cars, ray cast car and the joint base car, what else can we wish for.

Master K00m Kickkkkk Assssssss award
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby Dave Gravel » Mon Mar 24, 2008 11:01 am

DarthPhysics

Cool Demo
I'm sure we see soon the same with the BigFoot


If i'm able to make car and truck, it is possible to make all other types of vehicle without so much changes.

Thanks Julio i'm happy if the story change a little bit :lol: .
Me too in the pass I have think it is not possible, I have just finally chose to try more and i'm happy to see the result.

Thanks.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Postby Julio Jerez » Mon Mar 24, 2008 11:04 am

wholly molly, it is increadible realistic. Master K00m an dyou modelling the axels too.
I think you need to add a way to spin and zoom the camera view so that it can be seen from different angles.
Mater K00m I think I am goin to say last time we saw I was the master and you where the aprentice, but now my friend, you are the master and I am the aprentice.

Maybe Matser Leead werk can make his Moster Trusk.
We all need to learn form you
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby Dave Gravel » Mon Mar 24, 2008 11:12 am

About Monster Truck.
If I get times and If I find a good model I can make some try tonight.
I never have test.

Yes about the spin I using only a quick tricking but it is possible to implement it a lot better.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Postby JernejL » Mon Mar 24, 2008 12:04 pm

The semi truck demo is amazing, if only the trailer could detach :D
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Postby Dave Gravel » Mon Mar 24, 2008 12:14 pm

Thanks, yes it is not so hard to make detach the trailer by getting the joint row force info.

I don't have add it in this demo because this one is more to show how solid is the customjoint.
Maybe later I can make a more advanced demo, more realistic.

Edited:
It is surely pretty simple to make detach wheels too or make it wobble by just changing the wheel axis pin.

Thanks again.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Postby Dave Gravel » Tue Mar 25, 2008 3:06 am

Monster Truck AK [BigFoot]
I don't have find a real monster truck 3d model, I have modified a truck to make one.

I have chose to make it the most cheap possible because I don't have times to add full suspenssion support and all...
I have make the monster truck contruction by using the compound object.
The mesh and black box under the truck is the simple compound construction.

Here the result with my cheap monster truck.
http://fr.youtube.com/watch?v=gekAK1p2_Vg

Later when I get more times I think to implement one more real and more complet.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Postby Julio Jerez » Tue Mar 25, 2008 3:11 am

I love the tires. It is me of I can see teh moving part of the suspensions?

A shout out to master Leadwerks
Last edited by Julio Jerez on Tue Mar 25, 2008 3:40 am, edited 1 time in total.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby Dave Gravel » Tue Mar 25, 2008 3:23 am

It's possible that you see the suspenssion pass over the limite.
I have set the slider limite to +1 but normaly it is around +0.75 in this simulation.
It have forget to replace it correctly.

Surely a better version later with a more real suspenssion system, but now I continue to work on the component a little bit hehehe.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Postby Julio Jerez » Tue Mar 25, 2008 3:27 am

I want those tires.

also A shout out to Master MiggyE here is your sign
http://www.newtongamedynamics.com/forum ... highlight=


Master K00m I meant the moving parts, I see that the wheels are connected to the black box via a bar, and the bar moves with the wheels up and down, it is quite awesome.
It makes me wonder if the worth finish the ray cast car, but I will do it anyway. It is still good for mass production of ccheap cars.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby Dave Gravel » Tue Mar 25, 2008 3:56 am

Currently the black bar don't move at all, it is a part of the compound object.
I have seen some possible solution to implement the suspenssion and moving bar and I think it is not so hard to make.
I think to implement this suspenssion later in a futur not so far.

If you like to try the real demo.
Remember you it is pretty cheap I don't have pass so much time on the setup.
Edited: updated.
http://orionx3d.googlepages.com/Basic_MonsterTruck.zip

The raycast car stay important in case that you have many car's in collision.
And with other solver mode like 1.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Postby Julio Jerez » Tue Mar 25, 2008 8:22 am

Ha this is very good for first pass.

the good think about it is that it can be improved by adding extra compounents.

The wheel are so big and heavy than when turning the distance that a wheel in one side of the axel travel in very different that the distance that the wheel in the other side travel, that is why they react funny when turning.
I think that can be solve by adding a slip differential between wheels in the same axel. and maybe a slip diffrencail between the front and rear axel.

A differential can be implemented with a relational joint, like the pulley and the gear joints.
What you do is that you connect the two wheels with the joint and in the call back you set the one angular row to force the angular velocity of teh two wheels to obey the relation of the differential formula.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Next

Return to User Gallery

Who is online

Users browsing this forum: No registered users and 4 guests