k.gravityScale = -1 can use but i need =0 that mean i need to set gravity(0,0) to one body and set gravity(0,1) for anther body
static is not useful because i need collision with this body
k.gravityScale = -1 can use but i need =0 that mean i need to set gravity(0,0) to one body and set gravity(0,1) for anther body
static is not useful because i need collision with this body
Hi k117, Seems like there may be a language barrier here but I will try to offer some informative information regarding your issue. From what I understand you need to apply different gravitas to individual objects. Well at first this wasn’t possible but it is now an option. You are able to assign a specific gravity to a specific object. Please check out this link to the gravity:scale apihttps://docs.coronalabs.com/api/type/Body/gravityScale.htmlI am sure it will help. Also please accept my apologies on less informative replies, fact is we all started somewhere and it can be difficult to ask questions the correct way. Keep coding and keep asking
Hi k117, Seems like there may be a language barrier here but I will try to offer some informative information regarding your issue. From what I understand you need to apply different gravitas to individual objects. Well at first this wasn’t possible but it is now an option. You are able to assign a specific gravity to a specific object. Please check out this link to the gravity:scale apihttps://docs.coronalabs.com/api/type/Body/gravityScale.htmlI am sure it will help. Also please accept my apologies on less informative replies, fact is we all started somewhere and it can be difficult to ask questions the correct way. Keep coding and keep asking