Search found 7 matches
- Sat Mar 30, 2013 6:59 am
- Forum: Questions and Help
- Topic: SuspensionCarDemo2 steering doesn't work
- Replies: 7
- Views: 5651
Re: SuspensionCarDemo2 steering doesn't work
Agreed, trial and error isn't smart in this case. I went through the code, mine and example's, and found out that I forgot to write two lines in the update function. Now everything works perfect. :D Now how do I implement vehicle loosing grip when cornering fast? :D I also made a handbrake but the v...
- Thu Mar 28, 2013 9:01 pm
- Forum: Questions and Help
- Topic: SuspensionCarDemo2 steering doesn't work
- Replies: 7
- Views: 5651
Re: SuspensionCarDemo2 steering doesn't work
Can you please point me to the right section of the code where those settings are which I would then try changing until correct behavior? Car goes forwards and backwards with no problems.
- Thu Mar 28, 2013 8:42 pm
- Forum: Questions and Help
- Topic: SuspensionCarDemo2 steering doesn't work
- Replies: 7
- Views: 5651
Re: SuspensionCarDemo2 steering doesn't work
I copied the code from SuspensionCarDemo2 and modified it to suit my engine. Everything works fine except the steering. Is there a IRC channel for BEPUphysics maybe?
- Thu Mar 28, 2013 8:31 pm
- Forum: Questions and Help
- Topic: SuspensionCarDemo2 steering doesn't work
- Replies: 7
- Views: 5651
SuspensionCarDemo2 steering doesn't work
I've got a problem with steering using SuspensionCarDemo2 example. Not sure if it has to do with the game engine or not. I also tried setting maximumTurnAngle to 1.2f and it starts with wheels being turned left.
- Mon Mar 25, 2013 9:05 pm
- Forum: Questions and Help
- Topic: Aligning graphic to a predefined physics shape
- Replies: 4
- Views: 4123
Re: Aligning graphic to a predefined physics shape
I understand it now, unfortunately it seems that trying to turn the model in my engine doesn't work. Which is render engine's problem not BEPUphysics.
Thanks for your explanation.
Code: Select all
modelForWheel.Transform.Rotate(new Vector3(0, 0, 90), Space.Local);
- Mon Mar 25, 2013 6:30 pm
- Forum: Questions and Help
- Topic: Aligning graphic to a predefined physics shape
- Replies: 4
- Views: 4123
Re: Aligning graphic to a predefined physics shape
I am not quite sure how to do what you've written. Where do I put and access these properties? Here's my code adjusted to work with BEPUphysics: void AddBackWheel(Vector3 suspensionOffset, BEPUphysics.Entities.Entity body, bool leftSide) { var suspensionLeg = new Box(body.Position + suspensionOffset...
- Mon Mar 25, 2013 4:50 pm
- Forum: Questions and Help
- Topic: Aligning graphic to a predefined physics shape
- Replies: 4
- Views: 4123
Aligning graphic to a predefined physics shape
I have a problem when trying to align a 3D model to physics model - model gets rotated to it's horizontal postition. I use SuspensionCarDemo2 example which has predefined physics shapes and I do not want to create the collision shape from the model because I work with high-poly meshes. Here is a sha...