3MASTER9
(Wolbyte)
January 14, 2021, 10:24pm
#1
Hello, I’m trying to make a function draw an arc, using two points (basically parts) and custom segments for example:
I tried a lot of things but couldn’t achieve this, how can I go and do this?
any help is appreciated!
1 Like
Renmatou
(Renmatou)
January 14, 2021, 10:34pm
#2
Here is a topic that answers your question.
Hello!
I’m trying to make the block move along a parabolic trajectory. As far as I understand, TweenService can only change the coordinate by the same step. Is there any way I can smoothly change the vertical coordinate regardless of the horizontal one and make a “jump” of the block?
you can also just read into parabolas overall. Its just math.
2 Likes
CoderHusk
(CoderHusk)
January 14, 2021, 11:02pm
#3
Bezier curves are what you want. I have made a video on the topic already.
You basically want to put a point on every alpha then connect them with beams
3 Likes
3MASTER9
(Wolbyte)
January 15, 2021, 12:00am
#4
Thank you so much, I was able so solve this Issue using this method!
3MASTER9
(Wolbyte)
January 15, 2021, 12:09am
#5
Just one more question though, tick(), os.time() & time() which one is the best to use as a time step?
CoderHusk
(CoderHusk)
January 15, 2021, 12:20am
#6
Short answer: os.time() long answer:
1 Like
video isnt available, do you have any other videos of the same sort? im trying to create shadow tendrils which bend towards a player.
ended up finding one:
although im not sure how to implement custom segment lengths where when its more steep, the parts become longer and there are less of them.