can someone tell me how to code a Wrecking Ball ?

G

GrAmmErX

Guest
so i need to code a wrecking ball for my game i want it to go from 90° to 270° and back to 90°
(i got it to rotate i just need to limit its rotation somehow)
 

Bingdom

Googledom
Because you didn't set the variable in the create event (offset should be there too). ;)

Make sure to add time in small increments. cos is in radians. (dcos is in degrees)
 
Top