Search found 26 matches
- Wed Dec 30, 2009 11:34 am
- Forum: Questions and Help
- Topic: Vibrating car problem
- Replies: 3
- Views: 4717
Re: Vibrating car problem
It's on the xbox360. So I can't send a video. =( With one car the simulation time jumps between. ( one frame it can be at min, the next at max and then somewhere inbetween ) max 4.1ms min 0.1ms average 2ms The only thing in the space is my trimesh and the car. When I have 4 cars the times are max 19...
- Tue Dec 29, 2009 11:51 pm
- Forum: Questions and Help
- Topic: Vibrating car problem
- Replies: 3
- Views: 4717
Vibrating car problem
My car vibrates when standing still. ( didn't see it until I drew the bounding box. ) . Not sure what can cause it. And the physics simulation takes alot of time now. The wheels are very big compared to the body size ( w:3, h:2, l:10 ) In the attached image I draw the car bodies bounding box. I gues...
- Tue Dec 29, 2009 11:29 pm
- Forum: Questions and Help
- Topic: Problem with vehicle wheels
- Replies: 7
- Views: 7399
Re: Problem with vehicle wheels
Wow! You're good! Once again I'm totally embarrassed. Yes... I should have offsetted the graphics using vehicle.Body.worldTransform.Up! Maybe I should quit programming at 3am. 

- Tue Dec 22, 2009 9:01 am
- Forum: Questions and Help
- Topic: Problem with vehicle wheels
- Replies: 7
- Views: 7399
Re: Problem with vehicle wheels
I just take the wheel world matrix and apply it on my wheel model just as you wrote. In the video it is possible to see how the wheels sometimes are inside the body and somtimes outside. ( after 6 seconds ) these are my settings Vector3 SUSPENSION_DIRECTION = new Vector3(0, -1, 0); Vector3 FORWARD_V...
- Tue Dec 22, 2009 1:07 am
- Forum: Questions and Help
- Topic: Problem with vehicle wheels
- Replies: 7
- Views: 7399
Re: Problem with vehicle wheels
I've decreased the suspension length and moved the wheels more inside the body. and decreased the width. The 'chassiConnection' is now inside the body. I get the same result =( I've notices that the wheels move in the cars x axis. When the car is standing on a slope, the wheels are moved in the slop...
- Tue Dec 22, 2009 12:41 am
- Forum: Questions and Help
- Topic: Problem with vehicle wheels
- Replies: 7
- Views: 7399
Re: Problem with vehicle wheels
Ok, so I have too high suspension length? or have the vehicle body too high up?
- Tue Dec 22, 2009 12:08 am
- Forum: Questions and Help
- Topic: Problem with vehicle wheels
- Replies: 7
- Views: 7399
Problem with vehicle wheels
Hi I hade tweaked my car so it worked almost exactly as I wanted... then I scaled everything a bit and now I've broken it =( The car wheel behaves a bit weird when the car rolls. The wheels jump around a bit and force the car to move. They also move into the car. I didn't see this before. Not sure w...
- Sun Dec 20, 2009 4:14 pm
- Forum: Questions and Help
- Topic: Skidmarks
- Replies: 1
- Views: 3089
Skidmarks
Hi!
Is there a any good way I can know if the wheels are sliding so I can add skidmarks?
Or should I check the cars acceleration and sideways movement?
Is there a any good way I can know if the wheels are sliding so I can add skidmarks?
Or should I check the cars acceleration and sideways movement?
- Wed Dec 16, 2009 8:03 pm
- Forum: Questions and Help
- Topic: Jerky vehicle movment.
- Replies: 12
- Views: 11423
Re: Jerky vehicle movment.
Found it!
A very simple error. But I've been looking for it for ages!
I had both sync to vsync AND fixed time step enabled in my Xna.FrameWork.Game
Now it runs smoooth!
I'm soooo happy =)
A very simple error. But I've been looking for it for ages!
I had both sync to vsync AND fixed time step enabled in my Xna.FrameWork.Game
Now it runs smoooth!
I'm soooo happy =)
- Wed Dec 16, 2009 7:27 pm
- Forum: Questions and Help
- Topic: Jerky vehicle movment.
- Replies: 12
- Views: 11423
Re: Jerky vehicle movment.
I've run the performance monitor and made sure no allocations are made after initialization.
So, it's not the GC.
I'll try the CLR profiler
So, it's not the GC.
I'll try the CLR profiler
- Wed Dec 16, 2009 6:35 pm
- Forum: Questions and Help
- Topic: Jerky vehicle movment.
- Replies: 12
- Views: 11423
Re: Jerky vehicle movment.
Now when I increased the velocity of the animated object I see it is moving like the car.
So there's nothing wrong with the physics.
Sorry...
Thanks for your help!
I hope I didn't waste too much of your time =)
So there's nothing wrong with the physics.
Sorry...
Thanks for your help!
I hope I didn't waste too much of your time =)
- Wed Dec 16, 2009 6:12 pm
- Forum: Questions and Help
- Topic: Jerky vehicle movment.
- Replies: 12
- Views: 11423
Re: Jerky vehicle movment.
I've tried both on windows and xbox360.
- Wed Dec 16, 2009 6:07 pm
- Forum: Questions and Help
- Topic: Jerky vehicle movment.
- Replies: 12
- Views: 11423
Re: Jerky vehicle movment.
Yes I added a simple model that just moves from one side of the screen to the other and back. It moves smoothly.
It is updated with the same dt as the space.
The time step duration is set to be the same as the screen refresh rate. I've tried both 1/60 and 1/30. The game waits for the vsync.
It is updated with the same dt as the space.
The time step duration is set to be the same as the screen refresh rate. I've tried both 1/60 and 1/30. The game waits for the vsync.
- Wed Dec 16, 2009 5:57 pm
- Forum: Questions and Help
- Topic: Jerky vehicle movment.
- Replies: 12
- Views: 11423
Re: Jerky vehicle movment.
I get the same result with the two collision detection types. =(
- Wed Dec 16, 2009 5:52 pm
- Forum: Questions and Help
- Topic: Jerky vehicle movment.
- Replies: 12
- Views: 11423
Re: Jerky vehicle movment.
Thanks for the fast answers!
I run at a stable 30fps.
I'll try your suggestions right away!
I run at a stable 30fps.
I'll try your suggestions right away!