Hi can anyone help plz? Actor rotation prob!
Marc_n_Soph
Member Posts: 111
Hi, I am just getting started with GS, and have a prob. I have a long flat controller actor (with collision) that spawns another actor (square) with no collision. The spawned actor is constrained to the player pos x and y (offset +y to make the square sit "on top" of the controller actor.
I have done this so although i am displaying a square actor, there is no collision around its bounding box. The only collision is on the long flat controller, which is not visible.
When the controller actor rotates, the spawned actor rotates as expected. However, I'm looking for a way to "lock" the position of the controller to the bottom of the square, so if the square is upside down, the controller is on the "top" of the square. Hope this makes sense, i've been trying to find a way to solve this far days!!! Im totally new to this and don't know how to use the expression editor, but would love to learn!!!
Is there any way I can paste pics in here to try and make sense of my useless explanation? hehe
Any help GREATLY appreciated!!!!
Marc
I have done this so although i am displaying a square actor, there is no collision around its bounding box. The only collision is on the long flat controller, which is not visible.
When the controller actor rotates, the spawned actor rotates as expected. However, I'm looking for a way to "lock" the position of the controller to the bottom of the square, so if the square is upside down, the controller is on the "top" of the square. Hope this makes sense, i've been trying to find a way to solve this far days!!! Im totally new to this and don't know how to use the expression editor, but would love to learn!!!
Is there any way I can paste pics in here to try and make sense of my useless explanation? hehe
Any help GREATLY appreciated!!!!
Marc
Comments
I'm a little confused by your description, so any visual aids would certainly help!
Cheers,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Thanks loads TSB, will try that in a bit!! Also, thanks for all the video tutorials, they are awesome and really help.
Really REALLY appreciate your help !!!!
Marc