hi!
I saw this wonderful teleportation effect in the 8th Annual Bloxy Awards game, how can I do this?.
I guess they are attachments with trails spinning around the player, how can you generate e moving and make it random?
hi!
I saw this wonderful teleportation effect in the 8th Annual Bloxy Awards game, how can I do this?.
I guess they are attachments with trails spinning around the player, how can you generate e moving and make it random?
After messing around with BodyMovers in Roblox Studio I found a possible solution.
This is not guaranteed to be the exact way the developers of the Roblox Bloxy Awards place did it, however, it results in a similar effect.
There are of course numerous ways to replicate this effect, however, I chose to show you the method that requires little to no scripting.
I edited this a few days later after seeing it was being linked, so I wanted to make it more readable.
I used these trail settings in the example:
The transparency and width NumberSequences follow a pattern of starting at 0, .5 in the middle, and ending in 0; thus making the fade in and out appearance.
It is also crucial to enable FaceCamera, otherwise, it’ll look ‘off’.
You can replicate the swirl effect using a RodConstraint and 2 VectorForces as shown below.
An invisible rod is connected to two attachments, one attachment is inside the smaller cube with the trail. And the other one is inside the central cube.
(This is what makes the smaller cube revolve around the larger cube, instead of just flying away)
The VectorForces are what propels the trail part into motion.
VectorForce1 (Also keeps it in the air with the Y of 100):
VectorForce2
As you can tell, the 2 VectorForces are polar opposites. This makes it so that when the trail cube completes 1/2 a revolution it keeps on going to finish the entire revolution instead of going backward.
You will probably need a Server Script that adds an initial velocity to the part when it is cloned. Here’s more info on BasePart.Velocity
This method can also be used to create small swirls of wind (like Anime sword slashes):
And this method works with your intended purpose of multiple swirls that revolve:
And of course, if you’d like to skip this entire process I have the example uploaded to the Roblox library for you: Swirls by Xitral
In order to make this appear on the character, simply create a script that sets the RootRigAttachment inside the character’s HumanoidRootPart as the main attachment. You will of course have to do a bit more such as BasePart Cloning, but I’m sure you’ve got that down.
Hope this helps!
~ Xitral, Game Designer & LUA Programmer
If you’d like more information on stuff like this here are some API references I find helpful:
https://developer.roblox.com/en-us/api-reference/property/BasePart/Velocity
https://developer.roblox.com/en-us/api-reference/class/Trail
https://developer.roblox.com/en-us/api-reference/class/RodConstraint
https://developer.roblox.com/en-us/api-reference/class/VectorForce
Wow, thank you so much!, you are so talented