A better way to do this?
UtopianGames
Member Posts: 5,692
Hi Guys,
Started on a new project and i have an actor (the fishing net) that follows mouse x & y when touch is pressed BUT i want to rotate the actor when my finger moves around.
Atm i have Rotate to Position game.Mouse.Position.X, game.Mouse.Position.Y speed 2000 relative to scene.
Im 70% happy with the results but when moving slow or after holding my finger down for a while it doesn't seem to rotate as i want.
Darren.
Started on a new project and i have an actor (the fishing net) that follows mouse x & y when touch is pressed BUT i want to rotate the actor when my finger moves around.
Atm i have Rotate to Position game.Mouse.Position.X, game.Mouse.Position.Y speed 2000 relative to scene.
Im 70% happy with the results but when moving slow or after holding my finger down for a while it doesn't seem to rotate as i want.
Darren.
Comments
What is it doing that you don't like when it moves slowly?
Game looks great so far!
Feature request?
mike
Don't like how its not rotating to direction properly sometimes although i will try and make it smaller with animation to see if it helps.
Thanks guys,
Darren.
So its rotating around its center pivot instead of the top of the net?
You could try adding some transparent pixels to the top of the .png, or set the graphic type to fixed and increase the size?
Unfortunately that also increases the net's size...
http://gamesalad.com/game/play/72498
I used scene gravity to pull fish back down, so now i will have to try another method.
Might be the reason why it wasn't working great at the start (because of gravity)
Darren.
I know most ppl here prefer to use accelerate behaviors instead of scene gravity though.