You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
Rem Project: GlueObjectToObject
Rem Created: 31/12/2002 16:07:46
rem Glue object A to object B
rem Creatr the objects
make object box objectA,100,30,40 //corpo elicottero
make object box objectB,100,5,5 //elica
rem Glue child B to target A
glue object to limb objectB, objectA, 0
rem Offset child B to act like a moon around object A
position object objectB,25,25,0
rem Main loop
rem Rotate object B l'elica
yrotate object objectB,wrapvalue(object angle y(objectB)+0.1)
pitch object up objectA,mousemovey()
turn object right objectA,mousemovex()
rem End loop
The author of this post has marked a post as an answer.
Go to answer
Login to post a reply