TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Resolved Questions
→
Pivot on point help.
Pages:
1
Pivot on point help.
InFecTioN
Posts: 21
July 20, 2014, 12:14:42 pm
Looking for a bit of help or guidance with this. Basically I'm trying to recreate a spiked ball on a chain behavior, where the actor will pivot on a certain point. There are two similar behaviors I've looked at but one doesn't work at all and the other does something a little different to what I'm trying to achieve. I'm afraid the math required to do this is a bit beyond my ability and could use some help.
And example of what I'm looking for.
https://www.youtube.com/watch?v=tNqpBbwBxN0
Any help or ideas are greatly appreciated.
LIBERADO
Posts: 2720
July 20, 2014, 09:26:09 pm
Click in the "Appearance" tab of the spiked ball on a chain, select "Custom" in the "Origin Point" dropdown, set the coordinates of the pivot into the image. Now you can rotate the image using the code block: "turn [self] by [n] degrees"
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
InFecTioN
Posts: 21
July 21, 2014, 10:04:33 am
Thanks so much!
Pages:
1