#Can i reset the rotation of an object/objects?

37 messages · Page 1 of 1 (latest)

candid dune
#

Im making a portal gun and i cant figure out how to rotate it according to where it lands, is there a way to reset the rotation of multiple objects? I've tried using the follow mode option on the rotation trigger but it doesnt seem to work properly for some reason

wide pasture
candid dune
#

hold on

#

group 65 is the bottom left triangle

#

49 is the group of one of the portals

wide pasture
candid dune
#

it works sometimes but it randomly rotates 90 degrees

wide pasture
#

can you show a video again please

candid dune
wide pasture
candid dune
#

no

wide pasture
#

got it

#

try shortening the move time

candid dune
#

for the projectiles?

wide pasture
candid dune
#

oh ok

wide pasture
#

from what i can glean in your video, you're shooting the portals faster than twice a second (the duration you put in there)

#

which may break smth

candid dune
wide pasture
#

hm

#

Can you show the logic you're using for the collisions please

#

as well as how all the rotations are connected to those

#

preferably in a vid

candid dune
#

alright

#

the rotation is based on the point where the projectile lands on

wide pasture
#

shouldnt there be four

candid dune
#

im trying to work out one wall to make the others

#

i was thinking of having a toggle trigger depending on which wall is hit

#

so say, wall 1 is hit: toggle rotate triggers for wall 1 (following the triangle corresponding to that direction) then actually rotating it

#

if it keeps on bugging i have a slightly harder different idea for it

wide pasture
candid dune
#

i think i might scrap the follow mode thing and track manualy the rotation of each portal and rotate it in the amount of degrees necessary to face the correct direction

wide pasture
candid dune
#

but thats for tomorrow, ive done enough for today