[ACTION MAKER][WEAPON][SCRIPT] Strange Vec3 behaviour

Moderator: NADEO

Post Reply
User avatar
weerwolf
Posts: 628
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

[ACTION MAKER][WEAPON][SCRIPT] Strange Vec3 behaviour

Post by weerwolf » 11 Mar 2019, 14:33

The projectile sometime chooses a other direction, and seems to be 1 of 2 directions only.
Also it seems to be related to the spawning of the player and/or a jump in the spawn
In the video i have set the projectile to be launched in the aim direction, and log that
direction vector. You can see that the vector is identical, though the second projectile is
going a really different way :-S
https://www.youtube.com/watch?v=k_MkocK3lt4

cgdb
Nadeo
Nadeo
Posts: 12
Joined: 23 Oct 2018, 12:33

Re: [ACTION MAKER][WEAPON][SCRIPT] Strange Vec3 behaviour

Post by cgdb » 11 Mar 2019, 15:00

I don't know much about the Action Maker, but the "Speed = <0.0,0.0,0.0>" seems strange to me, I guess the Projectile_CreateAtLocation function refuses to create a projectile with no velocity and use a default value instead. I suggest testing "Speed = Owner.AimDirection" to check whether it changes the projectile behaviour or not.

User avatar
weerwolf
Posts: 628
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: [ACTION MAKER][WEAPON][SCRIPT] Strange Vec3 behaviour

Post by weerwolf » 11 Mar 2019, 16:26

Yes, as far as i understood back then that was used to let the projectile use its configured speed. In mp3 that worked as intended, but i'll look into that , tnx
EDIT : setting "Speed = Owner.AimDirection" gives exactly the same.

User avatar
weerwolf
Posts: 628
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: [ACTION MAKER][WEAPON][SCRIPT] Strange Vec3 behaviour

Post by weerwolf » 19 Mar 2019, 07:51

Before i proceed further with RR, i must understand if either i am doing something wrong / don't understand or there is something bugging which needs fixing. For that i shot a long video doing some of this positioning and u will see this change of direction happening.

Post Reply

Return to “ActionMaker and Item editor”

Who is online

Users browsing this forum: No registered users and 0 guests