fairly new to unity, with some minor experience in programming.
i've set up a trigger region (the start point), which contains a target (transform) that i'm trying to toss the player character to (like a catapult).
i've tried using this setup but it doesn't work for me:
i've also tried a series of Vector3.Lerps, but don't think that's the smartest way to go about it.
also: i cannot for the life of me get this to play out for longer than a second, no matter what i multiply Time.time or Time.deltaTime with (from .0000001 to 1000000). do i need to move this function outside of function Update?
any help would be greatly appreciated. i've been stuck for about a week! :) thanks.
asked Feb 07 '10 at 09:09 PM
See this these questions for multiple solutions:
answered Feb 08 '10 at 10:54 AM
The third parameter of Slerp is clamped between 0 and 1 (so it will never exceed these values). So in your case you would probably use something like:
Hope this helps... :-)
answered Feb 08 '10 at 05:26 AM