Quick Links:
Download Gideros Studio
|
Gideros Documentation
|
Gideros community chat
|
DONATE
[Box2D] Make 2 body repulsing themselves — Gideros Forum
Home
Discussions
Sign In
Home
›
General questions
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Quick Links
Categories
Recent Discussions
Categories
7.8K
All Categories
11
Help with translations
4.2K
General questions
107
Roadmap
358
Game & application design
317
Plugins
70
User experience
75
Marketplace
291
Code snippets
34
Building a team?
269
Suggestions & requests
352
Announce your apps made with Gideros.
90
Step by step tutorials
668
Bugs and issues
195
Introduce yourself
239
Announcements
106
Forum talk
404
Relax cafe
In this Discussion
May 2015
jeromegsq
May 2015
ar2rsawseen
Top Posters
ar2rsawseen
6991
SinisterSoft
4058
hgy29
3652
keszegh
3262
atilim
2892
antix
2136
MoKaLux
2029
OZApps
1983
totebo
1781
oleg
1706
hgvyas123
1412
techdojo
1321
pie
1194
gorkem
1186
rrraptor
1030
phongtt
1029
Mells
1024
MikeHart
1020
john26
995
GregBUG
962
[Box2D] Make 2 body repulsing themselves
jeromegsq
Member
May 2015
edited May 2015
in
General questions
Hello,
I need to make 2 objects repulsing themselves with box2D, how can i do that, which kind of joint do i need ?
I try with the b2.DistanceJoint but i don't know how it works.
Thank you
Don't miss the ball :
https://play.google.com/store/apps/details?id=fr.toastapp.dontmisstheball
The Gobb :
https://play.google.com/store/apps/details?id=fr.toastapp.thegobb
+1
-1
Share on Facebook
Comments
ar2rsawseen
Maintainer
May 2015
Accepted Answer
Here's more on joints:
http://appcodingeasy.com/Gideros-Mobile/Using-box2d-joints-in-Gideros
And here's on magnets, you would need to reverse strength to get the repulsing of each other:
http://appcodingeasy.com/Gideros-Mobile/Gideros--Box2d-magnets
http://appcodingeasy.com/Gideros-Mobile
+1
-1
Share on Facebook
jeromegsq
Member
May 2015
Awesome thank you !
I search before asking but I didn't find it
Don't miss the ball :
https://play.google.com/store/apps/details?id=fr.toastapp.dontmisstheball
The Gobb :
https://play.google.com/store/apps/details?id=fr.toastapp.thegobb
+1
-1
Share on Facebook
Sign In
or
Register
to comment.
Powered by Vanilla
Comments
http://appcodingeasy.com/Gideros-Mobile/Using-box2d-joints-in-Gideros
And here's on magnets, you would need to reverse strength to get the repulsing of each other:
http://appcodingeasy.com/Gideros-Mobile/Gideros--Box2d-magnets
I search before asking but I didn't find it
The Gobb : https://play.google.com/store/apps/details?id=fr.toastapp.thegobb