Search found 15 matches

by John1789
Mon Jan 30, 2012 6:32 am
Forum: General Bullet Physics Support and Feedback
Topic: Can RayTest be ignored for particular collision object?
Replies: 3
Views: 2229

Re: Can RayTest be ignored for particular collision object?

Ok got it..... its checking for all collider objects ...
by John1789
Mon Jan 30, 2012 6:20 am
Forum: General Bullet Physics Support and Feedback
Topic: Can RayTest be ignored for particular collision object?
Replies: 3
Views: 2229

Re: Can RayTest be ignored for particular collision object?

for example like here, look for #ifdef USE_GHOST_OBJ_WITH_VEHICLE.. (BTW, word "ghost" doesn't mean Bullet ghost object, it can be any collision object). struct MyVehicleRayResultCallback : public btCollisionWorld::ClosestRayResultCallback { const btCollisionShape * m_hitTriangleShape; int m_hitTri...
by John1789
Sat Jan 28, 2012 8:43 am
Forum: General Bullet Physics Support and Feedback
Topic: Can RayTest be ignored for particular collision object?
Replies: 3
Views: 2229

Can RayTest be ignored for particular collision object?

I am using a raycast car in which all four wheel cast a ray to detect the ground.
I want to know is it possible that raytest ignored for particular collision objects ?
by John1789
Sat Jan 28, 2012 8:29 am
Forum: General Bullet Physics Support and Feedback
Topic: What bullet do after collision?
Replies: 0
Views: 1573

What bullet do after collision?

Hi, i want to know when a dynamic object collide with static object then what bullet do? How and where it calculate the forces and impulse and when it applied to the object? Thanks in advance. EDIT: As i am new to bullet, tell me if i am wrong. there are algorithms for each pair of collision in coll...
by John1789
Sat Jan 28, 2012 5:50 am
Forum: General Bullet Physics Support and Feedback
Topic: Rigid body collision
Replies: 4
Views: 2608

Re: Rigid body collision

http://bulletphysics.com/Bullet/BulletFull/classbtRigidBody.html body->clearForces(); and then body->applyForce(btVector3(blah,blah,blah),btvector3(0,0,0)); or body->applyImpulse(btVector3(blah,blah,blah),btvector3(0,0,0)); Ok but, After collision where the impulse and forces are calculated in bull...
by John1789
Fri Jan 27, 2012 4:50 am
Forum: General Bullet Physics Support and Feedback
Topic: Rigid body collision
Replies: 4
Views: 2608

Re: Rigid body collision

Collision callbacks can help you out. http://www.bulletphysics.org/mediawiki-1.5.8/index.php?title=Collision_Callbacks_and_Triggers Thanks for the reply, i go through your given link, it is useful for collision trigger thats ok. It helps me to make my half work done. but what about the other half, ...
by John1789
Wed Jan 25, 2012 10:31 am
Forum: General Bullet Physics Support and Feedback
Topic: Rigid body collision
Replies: 4
Views: 2608

Rigid body collision

Hi, I am new to bullet so i am struggling to google my problem because i don't know what to search. In my game i have three objects, Body A (rigid body of btRaycast vehicle), Body B( static object), Body C (static object). Now when body A collides with Body B , bullet physics handles it accuratly. B...
by John1789
Sat Oct 01, 2011 6:35 am
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Vehicle demo
Replies: 75
Views: 81796

Re: Vehicle demo

you may try to adjust restitution or chassis rigid body(try both with and without "split impulse") How can i modify "split impulse"? or make some custom solution Are you using any custom collision response in your code? as i am new to bullet i am not able to find any example regarding this. EDIT:: ...
by John1789
Fri Sep 30, 2011 10:20 am
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Vehicle demo
Replies: 75
Views: 81796

Re: Vehicle demo

Hey, why you commented the sliding code... is there are some issue with it or it's not completed?
by John1789
Mon Sep 26, 2011 6:37 am
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Vehicle demo
Replies: 75
Views: 81796

Re: Vehicle demo

not 100% sure what do you mean with own collision response It means, suppose car collide with a vertical collider (like a wall) then according to physics its response is nice but for a proper game play its not seems good that the car over turns and lost user handling, at least it should not flip in...
by John1789
Thu Sep 22, 2011 1:52 pm
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Vehicle demo
Replies: 75
Views: 81796

Re: Vehicle demo

hi ,
i am trying to implement your code in my rendering engine, as i am new to bullet i need some help.

Firstly i want to know if i want to add collision response of my own, which bullet class should i refer and what parameters of vehicle physics should i focus?

Thanks in advance.
by John1789
Fri Sep 16, 2011 12:15 pm
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Vehicle demo
Replies: 75
Views: 81796

Re: Vehicle demo

Hey Nice work done.... Can you please help me to sort out some stuff. Are you using the collision detection and response from the bullet engine or you are using your custom detection technique and responses. If yes then how you connect the bullet physics part with your detection and responses. Thank...
by John1789
Tue Sep 06, 2011 9:27 am
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Vehicle demo
Replies: 75
Views: 81796

Re: Vehicle demo

Hi mi076, i get your source code, do you have any documentation for this code as its a big one. actually i need only the car physics part as i am using my own rendering engine, can you tell me which files are specifically only for the car physics that i can use in my rendering engine. Thanks in adva...
by John1789
Mon Sep 05, 2011 7:37 am
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Vehicle demo
Replies: 75
Views: 81796

Re: Vehicle demo

Thank you. In fact, i haven't uploaded source distribution for a long time, i shall do again soon, have rewritten many parts, specially graphics... but i am not able to get the earlier ones.....can you please give me the link ? If you can mail me at clark.john1789@gmail.com, it would be of great he...
by John1789
Fri Sep 02, 2011 11:59 am
Forum: Applications, Games, Demos or Movies using Bullet
Topic: Vehicle demo
Replies: 75
Views: 81796

Re: Vehicle demo

cool... how do i get the souce code of this demo?