[behavior] rex_spline

Post your work in progress addons and get feedback

Post » Mon Aug 01, 2016 6:51 am

@rexrainbow

I'm using the plugin in my project and it seems working fine.

For my needs, it has everything needed, thank you for your work.
I'm not a insane, my mother had me tested

I'm an engineer. To save time, just assume I'm never wrong
B
31
S
13
G
4
Posts: 141
Reputation: 4,857

Post » Thu Aug 04, 2016 11:40 am

@rexrainbow, I wanted to know if this is possible - Lets say I create a spline path and instead of the "spline_obj" moving with some velocity, I can set its velocity to zero and give it a drag-drop behavior instead...Now when I drag the "spline_obj" in runtime, it is constrained to move only along the spline-path that I have created...Probably some logic could do the trick like - depending on its current "x" position while dragging, "y" position can be auto computed along the curve and the "spline_obj" sets its position to that (x,y)
For game development / IT services contact - [email protected]

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
84
S
20
G
3
Posts: 337
Reputation: 7,368

Post » Thu Aug 04, 2016 2:15 pm

@kmsravindra

A bullet + rotate toward position might be better when the nodes or current position changiing in run-time. See previous post
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Fri Aug 05, 2016 6:06 am

@rexrainbow, Thanks for your response. Probably I didnt convey this too well in my earlier post. I didnt mean to change the node positions dynamically...The node positions will remain fixed. But I want to set the bullet velocity to zero for the object that is moving along the path and be able to drag that manually...When dragged this object should move along the path drawn.
For game development / IT services contact - [email protected]

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
84
S
20
G
3
Posts: 337
Reputation: 7,368

Post » Sat Aug 20, 2016 1:40 pm

Just a suggestion, but it seems like if you "Stop" the movement, it should be able to start where it stopped at rather than at the beginning of the spline when you use "Start".
Or perhaps another command is a better idea, like "Continue".
Image ImageImage
B
172
S
50
G
184
Posts: 8,445
Reputation: 116,109

Post » Sun Aug 21, 2016 9:32 am

@rexrainbow
Thanks, great plugin, but I couldn't get how you rotated the sprite along the path...
Could you plz provide a example capx.
Thanks
B
9
S
2
Posts: 77
Reputation: 741

Post » Mon Aug 22, 2016 2:11 am

@newt
Pause or resume moving by "Action:Set enabled" with parameter "disable" or "enable".



@signupdemo
Set property "Set angle" to "Yes" to set object's angle to the angle of motion. Or get this angle of motion by Expression:AngleOfMotion".
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568

Post » Mon Aug 22, 2016 2:33 am

Thanks, I figured out how to do something that way.
Image ImageImage
B
172
S
50
G
184
Posts: 8,445
Reputation: 116,109

Post » Thu Aug 25, 2016 10:51 am

@rexrainbow
Lol, How can I miss that little option there.... Thanks :)
B
9
S
2
Posts: 77
Reputation: 741

Post » Fri Sep 16, 2016 4:57 pm

Hello, I read the documentation but can not find the way to find out what is the point that is currently walking.

Something like a variable named
CurrentPoint
This would return the point number that is currently walking.
B
31
S
13
G
21
Posts: 844
Reputation: 14,695

PreviousNext

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests