- Home /
Isolate z,y Movement For 2d Side Scroller
I've been messing with different scripts and did the tutorial but can get what I need.
Basically, I need my character to move on an z,y plane. Any help on where to start with a java script or where to look for help.
Syntinel, thanks for the tip. That was exactly what I needed.
Great, happy to help. If you could mark it as the answer I would appreciate it XD.
Answer by CostelloNicho · Dec 01, 2012 at 06:51 AM
Heres a tip:
Add rigid bodies to your object, on the rigid body you will see a constraints drop-down. There you can restrict the objects movement to only move on the Y and Z axis. You should also restrict its rotations so it can only rotate on the X axis. (note that this will only change how physics manipulates your objects, directly changing these properties will not be held down by those constraints.)