Hey all!
I'm currently building a skillgame in which the bike is a unicycle.
But now I have problems with fixing it to the driving line. It rotates in every direction and I dont know how to fix it.
I tried to physically connect some dummyblocks to it and set "fix to driving line" in their properties to true but the connections just started to bug arround.
If it's not clear how it looks I will upload a video of it.
Thanks a lot,
Chilly
I tried that out but that happened:Originally Posted by BMXBandit777 Go to original post
https://www.youtube.com/watch?v=abWl...ature=youtu.be
it just buggs around although i set conection force to 50.
Just tried it and it doesn't work as I hoped - tried with slider and rotation joint on both sides, that worked a bit better but best results I've had so far is to use a sphere (variation 3) (turn phys on / lock to d/l / visability off/ phys type = contact response) then use an O.P.E. + vector object info source (object = ball) (OPE target =tyre[I used car wheel right)
You can then use controller inputs and set value events to add rotation to tyre via O.P.E. --- add a second O.P.E. using same xyz (position only) and link that to an area effector to move the sphere via same controller inputs.
Edit: just tried a few other tweaks and it works great - you can even add the unicycle body lean (forward/back) using another O.P.E. for the body with the same controller inputs and a couple more set value events + generic filters![]()
My brain hurts but I think I got it now.
You want to use a sphere instead of the wheel an aply the force to it.
Then just OPE the wheel with the informations from the sphere and physically attach the bodypart to the wheel.
First of all: thats genious but I see a problem.
The bodypart will not put any force on the sphere so the unicycle will not behave correct.
if the body goes to the right the wheel will not go to the left.
I hope you see the problem.
No just start by OPEing the wheel to the xyz position co-ords (global) then using left n right controller inputs you can change the wheels rotation (local)
The body (separate) can then be OPE'd (global) to either the wheel or sphere - set it to no contact - and give it it's own set of rotational limits - say 45 degrees either way (local)
So as you push Right it does 3 things:
1. Sets force for area effector
2. Gives the wheel rotation
3. Make the body lean right 45degrees
Because the wheel and body are set to no contact they should have no effect on the sphere only the area effector has.
Hope this makes sense![]()