- #1

- 14

- 0

## Main Question or Discussion Point

I basically need a function that will animate a chain necklace. Think of the necklace as having three square links on each side with a central medallion. I need this to swing like an actual necklace.

My biggest problem with this is the fact that I don't have a standard for gravity. Gravity has to be a function of x and y acceleration data received from an accelerometer.

I basically need it to swing using the two top links as anchors. I will also need it to be able to fall straight down if the object is held upside down.

I've been struggling with this for a while. Any help would be immensely appreciated.

Thanks,

Brandon

My biggest problem with this is the fact that I don't have a standard for gravity. Gravity has to be a function of x and y acceleration data received from an accelerometer.

I basically need it to swing using the two top links as anchors. I will also need it to be able to fall straight down if the object is held upside down.

I've been struggling with this for a while. Any help would be immensely appreciated.

Thanks,

Brandon