This is a public request to anyone who is interested in creating a completely Free-Roam vehicle using only 2 wheels. I have the bike moving but I'm still experiencing issues getting the rider to stay balanced. Please reply to this post if you want to see this thing happen!
After months of working on this idea on and off I have decided to make my findings public. I have seen 2 other attempts (released) so I know that there is an interest in this. I am talking about riding the bikes FREESTYLE / FREE ROAM. The following is the method I am currently using, and a few ideas I've come across.
The front steering can be controlled with any rotational motor, and it is NOT required to first detach it from the bike; same goes for the wheels. I am using the Angular X,Y limits to turn it using the Left/Right Stick Horizontal input, found in "Game Character Data Source" under "Data Source". This will cause the steering to move only as much as your 'steering wheel' as opposed to whenever you let go, as it is with Angular Motor.
I have tried a few different techniques to keep the rider upright but none are perfect.
- Area Forces around the rider, set to bike's position with OPE: doesn't rotate properly
- Weight below the bike to lower the center of gravity: very wobbly
- Directional Force and both sides, but how to detect tilt?
- Invisible blocks/wheels: They get in the way of obstacles
The Rider is attached using Point-to-Point joints on his hands, feet and waist, and the rear wheel is controlled with an angular motor and Gas + Brake controller values.
These are the maps that have been released so far, let me know of any others and I'll add them.
"Scorpion Unlimited" - No Fr33 Lovin
"Free Roam (BETA)" - Lord of Warrr
"Off the Rails .demo" - Jolan (me)
Hey
Great job I checked the video and I just tried the track you uploaded.
Its awesome welldone!
I think theres a few points that needs alittle more work inorder to be perfect (My opinion ofcourse)
Make the bike move maybe alittle faster and smoother
I think you can do that by going to the Bike's Properties > Advanced Physics > Friction Factor.
Maybe try making it Less, probably will give it a smoother truns.
Also it seems like his upper back is alittle high I think you picked it as one of the (Point to point) joint try his head or lower back or both. I think it will give it a better look.
Plus the camera you can add a camera behind him to give it the Free roam look (3d), just give it a point to point joint between the bike and the camera and maybe everytime you press something it will switch between both cameras.
That's just my opinion, Its great work welldone!
I have an updated version of my free roam but I didnt upload it cause I was busy working on other projects and I didnt want to upload it till im done with it.
Anywho Goodluck!
Cheers!
Have you tried to change the (Linear Damping%) Of the Bike or rider?Originally Posted by Jolan
Try Everytime you press RT set the value of the linear damping of the rider to 100% and when you let go set value back to normal or 0-20%..
And maybe when you press RT + left or right set it on 60% so it wont stop the bike from turning..
Might work.
Not sure tho just an idea, might help you with something later..
Goodluck again.
damn thats cool, will be checking your track shortly
i was thinking about the problem with the pendulum, what about using two joints:
the 1st joint attaches to the bike located at the bikes center of mass and is a ball and socket joint and is also attached to the second joint that is attached to the weighted pendulum and has very little angular movement, essentially keeping it directly below the rider, then control the 1st joint by driving the upper/lower limits as you have for the handlebars to make it lean, also if you make the forward direction rotation have freedom of rotation, hill climbs may work.
I haven't tried messing with the Linear Dampening, though I did adjust the Angular. That kept the bike from banking (left/right) but it also kept it from pitching (fwd/back). That is something to try though, giving the rider some dampening but leaving the bike to move more.
However these are not great for the end result - to allow full movement as on the Driving Line, except free from it. I am experimenting with Directional Force now and will post my findings in the OP tonight after work. I can keep him upright all the time but again, he flips out when pitching forwards or back :/.
Thanks for your input!
Also, everything else for now is cosmetic and will be left for last.
Great effort, I think that is really cool!
Is this within a skill game? Or a trials track?
So maybe I'm a bit naive here ( I haven't fiddled with objects events much myself), but doesn't the bike have angle data values you can directly read and directly set?
If so, can you read and override the "leaning left/right" value when it changes?
Or better yet, just have a data event every tic that sets the "leaning left/right" value to 0 (or whatever represents "standing straight up"). This should override any tendency to fall over due to gravity or bumps or leans or anything.
If I'm imagining this right, what you will end up with is a bike that looks/feels/behaves a lot like the normal trials bike stuck on a driving line. It might look funny standing straight up while going around curves, but we are already used to that from trials tracks with sharply curved driving lines.
If that works well, you could extend this further by manually setting the lean of the bike left or right based on the position of the handle bars, for a more realistic lean into each turn.
I'll try setting the Local Rotaion but I think that'll just freeze the bike in place because of the OPE.. although Luthanick's method worked so I dunno. Right now I'm using Directional Force and Dummy Objects to detect the lean and compensate but that only works traveling horizontally (so far)
Mmmh, I think you posted this on the wrong section lol!Originally Posted by Seasonz![]()
That was spam. If you see something like that, just a nonsense sentence from a user with 1 post, just Google the sentence and if it matches then report the post.Originally Posted by Blastergamer