Orthello and basic unity question..s. :P

Hey all,

I am pretty new to unity and have been trying to start working with orthello but I have a few issues and questions if someone wouldn’t mind giving some guidance.

First, there is a tutorial I followed to get the basics that included creating a Box and adding a rigid body, creating and dragging a game object onto the box and dragging your animated sprite onto that game object… I don’t think this is necessary but I have been wondering why when I try this my (no gravity selected etc…) sprite falls off of the game object and box but they stay put? I think i’m just missing some basic fundamental functionality for physics bodies or something here?

Also when I do make the sprite on its own I created some ground tiles and set them to no gravity etc and noticed when the sprite falls onto them they get pushed by it and move all crazy around the screen. I have tried different settings etc and can’t figure out why they don’t stay in place? I’m sorry if these are too absurdly basic question wise but learning from giant prebuilt “tutorials” can be difficult when they have configured 500 settings and added 10 scripts and all of the objects are prefabs or multi tiered etc and this makes grasping what each individual piece is really there for (more than just what its doing which is more obvious). I actually work as a developer so it has been a bit frustrating to see how pathetic i’ve been trying to get started with this (very new to game dev… completely that is). If anyone out there wants to make a quick $50 over a quick skype lesson that’d be pretty great any help is appreciated. Thanks guys/gals.

Did you try to set off Use Gravity on the rigidbodies and also use Is Kinematic ?

First of all, you do not need to have a cube with a gameobject and attach a sprite to it. You just need your sprite and set sprite.physics to RigidBody for it to have gravity get a hold of it and let it fall.

The sprite.physics of your ground tiles need to be set to ‘StaticBody’ because this makes the collider (force that will hold/collide the falling sprite) big (on the z value / depth) so it will really function as a ground.

Best is to check Orthello example 6 - physics. There you will see rectangular and spherical objects fall on ramps. If you investigate how they are set up you can end-up with some useful knowledege.

Thanks for the reply, I had the .physics settings wrong for both, it’s working now. You rock.