R
Rosieu
Guest
Hi everyone!
Strange query I'm afraid, and it could just be me not seeing the whole picture!
I was wondering if anyone knew of a way to control the placement of an object using the angel and distance between two objects, rather than x and y?
Conventionally I'd call something like
"instance_create(x,y,object)"
but what I'd love to be able to do in this case is achieve (though I know this code is incorrect)
"instance_create(40px from object, at 60 deg. angle, object)" etc, etc
Apologies for the atrocious pseudo-code, but hopefully you'll see what I mean!
Any help is greatly appreciated!
Strange query I'm afraid, and it could just be me not seeing the whole picture!
I was wondering if anyone knew of a way to control the placement of an object using the angel and distance between two objects, rather than x and y?
Conventionally I'd call something like
"instance_create(x,y,object)"
but what I'd love to be able to do in this case is achieve (though I know this code is incorrect)
"instance_create(40px from object, at 60 deg. angle, object)" etc, etc
Apologies for the atrocious pseudo-code, but hopefully you'll see what I mean!
Any help is greatly appreciated!