Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Physics Joints

Author
Message
Grook
AGK Backer
12
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: Lancashire, England
Posted: 18th Jul 2012 23:40
Hi all. I've been playing around with physics joints but struggling to achieve what I want to. Basically I want to achieve a pendulum effect so that the bob moves in pendulum fashion relative to it's pivot (a moving sprite).

+ Pivot
|
|
|
|
<-- O --> Bob

I seem to have most success with a revolute joint but it doesn't work terribly well - this could be down to my lack of understanding of mass and scope. O level physics was an awful long time ago... Anyone got any ideas or will I have to simulate this?

"Happiness is contrary to the human condition" --White (to Black)
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 19th Jul 2012 00:38
Revolute is the way to do this for sure


this.mess = abs(sin(times#))

Login to post a reply

Server time is: 2024-11-23 17:44:27
Your offset time is: 2024-11-23 17:44:27