I’ve been getting a bit confused trying to understand an objects center from a display object point of view and then also as it’s role when it is a physics object - I’ll try to ask the right questions to help clarify:
Q1 - What aspects of corona would one use to model a Hot Air Balloon where the center of mass is at the bottom? For example I assume here:
a) force should make most affect at the top of the balloon, so therefore if coming from the left, the top of the balloon should tilt to the right
b) assuming it’s a hot air balloon you would also have a constant upward force on it, being applied at the top I guess
Q2 - Would one object be enough? Or would one have to use multiple with joints?
Q3 - If using one object, should the object xOrigin / yOrigin be used for center of gravity
Q4 - If fact does the physics engine really use xOrigin / yOrigin as a centre of gravity concept?
Q5 - In this case (from Q1) would it be best not to use the Corona physics engine to model, and work out the objects position, rotation manually (and if so why)
Q6 - Anyone come across code that gives an example of something like this (haven’t found one yet myself)
[import]uid: 140210 topic_id: 30071 reply_id: 330071[/import]