I'm having trouble rotating a kinematic rigid body object. I can translate it just fine. Am I missing something obvious?
In this little program, the box moves up and down just fine but doesn't rotate at all:
phy start
sync on
sync rate 60
angle# = 1
y# = 0.0
dy# = 0.1
make object box 1, 10, 1, 10
position object 1, 0, y#, 0
phy make rigid body dynamic box 1
phy set rigid body kinematic 1, 1
position camera 0, 5, -20
point camera 0, 2, 0
do
phy set rigid body kinematic rotation 1, angle#, angle#, angle#
inc angle#, 1.0
phy set rigid body kinematic position 1, 0, y#, 0
inc y#, dy# : if abs( y# ) > 10 then dy# = -dy#
phy update
sync
loop