richardl008
-
Posts
2 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by richardl008
-
-
Hi,i have a simple question: I want to move a model (with GoToPoint)if i press the left mouse button, and play an animation while the model moves.I did:if (window:MouseHit(Key.LButton)) then-- Target position (in place ATM)local targetpos = Vec3(0,0,17)-- Move modelplayer:GoToPoint(targetpos.x,targetpos.y,targetpos.z,1.1,1)-- Animate modellocal t = Time:GetCurrent()player:SetAnimationFrame(t/100.0,1,1)local playerpos = player:GetPosition(true)endMy results moves the object, but the animation isn´t played well(only if i press the mouse button again), and any correction did not work.
Script: Move Character to mouse position?
in Programming
Posted
Hi,
there was once a script for moving the character to mouse position:
Does anyone know where to find it - i get an error when i want to get/download/test it?
Thanks, Richard