Hey all,
I have a working character controller and a platform I made like so:
// Test Platform
platform_obj = find free object()
make object box platform_obj, 64, 16, 64
phy make rigid body dynamic box platform_obj
phy set rigid body kinematic platform_obj, 1
I can move the platform like so:
if keystate(200) = 1 then phy set rigid body kinematic position platform_obj, object position x(platform_obj), object position y(platform_obj), object position z(platform_obj) + 1
if keystate(208) = 1 then phy set rigid body kinematic position platform_obj, object position x(platform_obj), object position y(platform_obj), object position z(platform_obj) - 1
My character can step up the platform without any problems, but when I move the platform, the character stays put.`How can I make it so that the player moves, and perhaps rotate with the platform?
Thanks for any assistance!
Regards Sph!nx