Rotating on a moving actor
digitalzero
Member, BASIC Posts: 639
hey you all... I'm trying to rotate an actor within a moving actor... But here's where it gets difficult... The actor can move on the x axis with buttons and there is a laser actor that you can move as well using an analog but is confined to an anchor point on the moving actor (the laser is only spawned if you're touching the analog)... I know I'm horrible at explaining these things lol so I drew a handy picture to go along!
Comments
Constrain penis x to half of the penis' length * cos (angle) + main actor's x
Constrain penis y to half of the penis' length * sin (angle) + main actor's y
Constrain penis rotation to (angle)
Analog generates / controls angle.
So then how do I make an analog @Socks
Knit them.
Llllmmmmmmfffffaaaaaooooooooo!!!!!! Classic response from you lol
@digitalzero
. . . . but seriously, there are a bunch of tutorials on making analog controllers, as well a a few templates floating around, I've never made one myself, I'm strictly a one tap Flappy Bird kinda' guy, if you can't play the game by hitting your forehead against the screen I'm not interested.
thanks so much @socks i appreciate you replying to this
@socks where are these tutorials... im really not finding a damn thing
dammit @socks i dont know what the hell im doing! ugggggghhhhhhhh