Vector lerp w pv's

For questions about using Classic.

Post » Mon Jun 06, 2011 6:21 am

Not sure if its another case of doing it wrong, or whether its something wrong with the vector object expressions vector.lerp, or arrays in pv's
[url:2g4p86pt]http://dl.dropbox.com/u/666516/vectorlerp.cap[/url:2g4p86pt]
If I manually set both arrays it works fine ie vector.lerp(sprite.xy,{100,150},1-0.5^timedelta)
But then if I put sprite2.xy as the second vector it goes haywire.
I wouldn't think its an issue with picking since there's only one instance of sprite 2.

Also would it be possible to pass strings as arrays?
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests