Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make attachments circle around a player?

Asked by 6 years ago
Edited 6 years ago

I see these cool effects the devs are doing and I don't know how to go about making it. I know it requires attachments and beams but what is the math?

Example: https://gyazo.com/8c6058b1da08d04e120a90a18b1d825d

Edit: Well it first starts out by inserting two attachments into the HumanoidRootPart (Character) and inserting a beam into one of them. The HRP is considered to the base.

0
I have never seen attachments circling anything by themselves. Do meant they are attached to invisible parts? P.S.: I've never even heard of attachments attached to nothing. ILikeTofuuJoe 1 — 6y

1 answer

Log in to vote
0
Answered by
Nonaz_jr 439 Moderation Voter
6 years ago

This effect is easiest to achieve with particleEmitters, rather than attachments.

I rotate an invisible block with the particleemitter attached. Play around with inheriting the velocity etc (settings of the particleEmitter).

Of course another way is to cframe actual particles, or better to make a rendered animation, but if you have to ask, I would probably go with my idea.

0
I'd rather use Beams instead of PEs, the effect looks better. I can also use Trails but there is a formula to use to get an effect like this (Spinning the attachments around). AttentionHog 70 — 6y
0
Yeah you can set the CFrame, and rotate it around an offset using CFrame.Angles() https://scriptinghelpers.org/questions/25441/rotating-around-a-point Nonaz_jr 439 — 6y
Ad

Answer this question