Add spring action to rotating body

Official forum for the Chipmunk2D Physics Library.
Post Reply
ganesha
Posts: 71
Joined: Mon Sep 06, 2010 1:29 pm
Contact:

Add spring action to rotating body

Post by ganesha »

Hi

I have a rotating body that simulates a character. It should have an object (brown) on the head that stays in place and could rotate in a limited angle (a in image). It is not bolted directly to the ball and will not rotate around due to the balls rotation. It should react to movements of the body but stay within the limit in a springy fashion. This object is just for show and does not need any collision detection etc. if it helps.

Is this possible to do?
Attachments
example.png
example.png (15.95 KiB) Viewed 4778 times
Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests