Mouse.Position sensitivity
hi everyone!
i was wondering, how do i set the sensitivity for the mouse attribute?
my range of movement for the actor will be set to a limited Y3 to Y18.
how can i set my actor to increase incrementally instead of "jumping" from 3 to 18 directly?
i was wondering, how do i set the sensitivity for the mouse attribute?
my range of movement for the actor will be set to a limited Y3 to Y18.
how can i set my actor to increase incrementally instead of "jumping" from 3 to 18 directly?
Comments
mouse down? mouse up? mouse position (inside/outside)? mouse on another actor?
you can set rules for when mouseAttribute Position.Y is < 18 and … >3
you can interpolate Actor's attribute self.Position.Y to 18 or 3 … and use Duration for incremental effect
please post more information
@};- MH
The sensitivity is too quick,as it jumps from 3 to 18 unless the player really follows the small increments
max(3,min(18,vectorToAngle( game.Mouse.Position.X - self.Position.X , game.Mouse.Position.Y - self.Position.Y )))