Hi, was just wondering how you make the physics joint work where once the bike lands on the object (log piece) it falls down 30 degrees or so and stays there.
Just use a Hit Trigger Hitting Object 1: Bike and Rider; Hitting Object 2: Log; On Hit: Physics Event -> Log (Note: Make sure the log has physics disabled to begin with.)
sorry should of been more clear, i mean how do i make the physics joint go at the specific angle i want and where it stops.
Try this for fun. Do as luke said but set the angle damp on the log to 99 then have a trigger where to want the log to stop using physics off.
You have a few options. One is mentioned above but there are two more.Originally Posted by aLeXeLa
The easiest method is to place a custom collision where you want the log to stop which prevents the log from rotating any further. This can cause another problem if your bike is able to come into contact with the custom collision, but if not it might be your best bet.
Another option is to open up the angular properties of the rotational hinge and restrict the angle to 30 degrees by moving the sliders. It can be a bit fiddly to do but it doesn't involve any other items like custom collisions or physics events.
Is that how its done on the 'pump it up' level, cause that is what im kinda after.
Also, rather than starting a new thread, i have another idea i'd like to ask help with.
Im thinking of a special trap to make on my track, where on touch to a rope, the bike and rider sticks to it and lifts you up hanging you upsidedown in the air having been caught.
You can try to use a directional force pointing to the rope, or use something to block the bike.Originally Posted by aLeXeLa
Use a point to point physics joint between the bike and the rope but leave it disabled. On contact with the rope use a state event to enable the joint.