# Making an object rotate with a platform & slopes too

**URL:** <https://forum.kirupa.com/t/making-an-object-rotate-with-a-platform-slopes-too/246202>\
**Category:** Uncategorized\
**Created:** [December 7, 2007, 11:14pm UTC](https://forum.kirupa.com/t/making-an-object-rotate-with-a-platform-slopes-too/246202 "2007-12-07T23:14:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrRobot](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/drrobot/32/3907_2.png) [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Post date:** [December 7, 2007, 11:14pm UTC](https://forum.kirupa.com/t/making-an-object-rotate-with-a-platform-slopes-too/246202/1 "2007-12-07T23:14:20Z")

</div>

Alright, so i’ve been having this idea lately, i’m planning on making a platform engine, and i though it’d be cool to have platforms with their own gravity and such, where you rotate as it rotates and all.

and another little idea is that when i walk around on a certain platform, i’d rotate as the floor is sloped.

I haven’t messed with the code yet, though i have some sort of idea…

Anyway, do you have an idea of what i should do to do this, or maybe flash some samples my way?
