Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Jan 16, 2012 8:52 pm 
Offline

Joined: Mon Jan 16, 2012 7:52 pm
Posts: 1
Location: Slovenia
Hi everyone! :D
For few days/nights I'm working on a simple racing game. I'm programing in java with jBullet.
There are some things which I want to optimize and need help:
1. Grass ground should be more slippery than track, so when car drives of the track that is visible on breaking, handling. Ground and track are two separated collision objects(to make that easier).
I tried with:
Code:
      RigidBody rTerrain =localCreateRigidBody(0, tr, groundShape);
      rTerrain.setFriction(0.05f);

Change is visible on other objects(tires laying around), but not on a vehicel.
2. How to implement handbrake?
3. Could Bullet help me detect when start-finish line is crossed?
Collision Filtering could probably be the answer. I'm missing further code of the spaceship game in Wiki, where power up is added to spaceship when picked.

Thanks :)


Attachments:
pamo-racing.jpg
pamo-racing.jpg [ 111.64 KiB | Viewed 801 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group