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
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
Posts: 7,234
Reputation: 61,496

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests