Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect two physics objects #126

Closed
homatenbeo1990 opened this issue Mar 4, 2013 · 2 comments
Closed

connect two physics objects #126

homatenbeo1990 opened this issue Mar 4, 2013 · 2 comments

Comments

@homatenbeo1990
Copy link

I'm sorry, I'm poor English.

How to connect two physics objects together to them in the same motion.
For example: A is leg, B is the body
A move -> that B also move in A

@MattiaFortunati
Copy link
Collaborator

Hi,

you can connect bodies by using joints.
You can check this sample for further information:
https://github.com/ymobe/rapanui/blob/master/rapanui-samples/physics/rn-physics-joints.lua

But you should practice with them a little bit if you want to obtain something like QWOP :D

@homatenbeo1990
Copy link
Author

Thanks MattiaFortunati
I understand this problem.

But I'm having difficulties in animation.
How to check anim isBusy .
In my game, character will always run when I press the button and the action will end if I let go.
Please, help me!

I'm sorry, I'm poor English.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants