Add spring action to rotating body

Official forum for the Chipmunk2D Physics Library.

Add spring action to rotating body

Postby ganesha » Thu Nov 13, 2014 3:07 pm


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?
example.png (15.95 KiB) Viewed 1848 times
Posts: 71
Joined: Mon Sep 06, 2010 1:29 pm

Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 1 guest