Bloxys teleportation effect

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?

5 Likes

This might be what you need.

API Reference ParticleEmitter | Roblox Creator Documentation

1 Like

Bloxy Awards Teleportation Effect


Intro. Note:

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. :slight_smile:


Let’s start with some trails! :stars:

  • Create a part, we’ll call this the trail cube, and add 2 attachments
  • Move one of the attachments to the right and the other to the left.
  • Then create a Trail and set the attachments in properties to the attachments you just made.
  • Make sure all of this is inside of your trail cube!

I used these trail settings in the example:
image

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’.


Now let’s get them moving :dash:

You can replicate the swirl effect using a RodConstraint and 2 VectorForces as shown below.


Create two attachments in the center of each cube :ice_cube:

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)


Now we can propel them using VectorForces :rocket:

The VectorForces are what propels the trail part into motion.

VectorForce1 (Also keeps it in the air with the Y of 100):
image

VectorForce2
image

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. :arrows_counterclockwise:

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


Here is an image of what the final hierarchy should look like:

image


Applications

This method can also be used to create small swirls of wind (like Anime sword slashes):
image

And this method works with your intended purpose of multiple swirls that revolve:


Skip the process (please read the process still) :smile:

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


The rest is up to you!

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

25 Likes

Wow, thank you so much!, you are so talented :smiley:

2 Likes