1. #11
    From the video it looks like only the wheel was locked to the driving line but not the body. Add the same joints up there too.
    Share this post

  2. #12
    thats very frustrating. i now tried it hours and can't get it working
    Share this post

  3. #13
    OK mate I think I've figured it out - there is a way to have the wheel OPE as suggested before and have the 'body' attached with a rotation hinge. I have an example working but can't upload a video or pictures yet n I'm just about to go to work (nights) if your on x360 I can post the track so you can see it working but you won't see any of the mechanics - I'll try and do a Google.doc detailing everything for you tomorrow
    Share this post

  4. #14
    I just tried to OPE the tire to a sphere and physically connect the boddypart to the tire but the physicjoint bugs around when it is connected to an OPEd object =(
    Share this post

  5. #15
    Yeah you can't link it directly but you can do this - get 3 object info data sources (all position) set 1 to x, 1 to y and 1 to z, then get a two input operator(operation = add) and place it below the y position - set operand 1 value as the y position and operand 2 to 1. Then take another OPE (global) and set the x+z values to the o.i.d.s. and the y value to the two input operator then select a glue tool as the target. You will see the glue tool sits above the wheel but follows it around. Now you can attatch a rotation joint to that glue tool and the body peice you want to use [I added a glue tool to the body as this allows you to fine tune the bodys centre of mass].

    The rotation hinge is set up like this:

    Properties:advanced
    Target 1: body
    Target 2: glue tool
    Angular settings : lower - 45 / upper 45 / softness 1 /damping 80 / restitution 1
    Disable collision : on
    Joint strength : 1

    Rotate joint pivot 45degrees and place in the same place as the new glue tool. I had the bottom of the body piece level with the new glue tool and the body's glue tool at the top of the red circle that represents the hinge. Weight of body was set as low as possible / physics on / angular damping set to 95 / physics type - no contact( but this can be left on default )

    Then I took 2 area effectors, each with there own glue tool ( but you could just use 1 for both )(use same OPE that is targeting the other area effector) 1 angled 45 degrees up-left and the other 45 degrees up-right ( so they both point at the body ). Go into force settings: affected objects: select object instances - target= body. Directional forces for each area effector get values from Variable Data Sources described below.

    From the left / right controller inputs I had 7 set value events ( 3 each side + 1 for both )
    On down:
    1st pair : set the force to move the ball (left -1000 / right 1000)both target the same variable data source
    2nd pair : set rotation for wheel ( left decrease 2 / right increase 2)both target the same variable data source
    3rd pair : each of these (left : set 5 / right : set 5) targeted there own variable data sources - these are for the two 45degree area effectors

    Left/right on release : set value event ( set 0 ) this targets the VDS's for 1st pair and 3rd pair. So only when you push the controller will the 3 area effectors be active.

    I hope this helps you and you can make sense of it
    Share this post

  6. #16
    Sorry for answering that late, but I had no time today.
    It's awesome how much work you put into this to help me buddy!
    That's really nice off you. I will test this out when I wake up tomorrow ;-)
    Share this post

  7. #17
    No problem mate happy to help + I like a challenge in the editor
    Share this post

  8. #18
    Y'know... if the driving line is straight... you could just put a Collision box on either side of it and set their Friction values to 0.

    Like pulling a DVD off the shelf :P.
    Share this post

  9. #19
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195
    hehe Jolan that by far has to be the easiest method, i was going to suggest adding dummys front and rear with joints that were locked to d/l but thats more work that true running rails.
    Share this post

  10. #20
    if jolans method doesn't work well with your current unicycle glue an invisible object to it with collision detection(weight as small as posible)
    beware that it shouldn't hit the ground ever though so you would need to take precautions
    Share this post