generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Lightning

Previous Thread :: Next Thread 
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
05 Jun 2015 03:27 PM
How would i make a spark such as lightning come from a players chest?
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
05 Jun 2015 03:34 PM
wiki.roblox.com :]
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
05 Jun 2015 03:36 PM
^ good but not good :) Any precise links?
Report Abuse
RobloxianWarrior3 is not online. RobloxianWarrior3
Joined: 18 Jul 2012
Total Posts: 1302
05 Jun 2015 03:47 PM
You could place a ParticleEmitter in the player's torso.

Have the texture be your lightning/spark/whatever and either have it insert that or make of a clone of it from somewhere and move the clone into the Torso.
Report Abuse
RobloxianWarrior3 is not online. RobloxianWarrior3
Joined: 18 Jul 2012
Total Posts: 1302
05 Jun 2015 03:48 PM
If you want wiki links, here you go: http://wiki.roblox.com/index.php?title=ParticleEmitter
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
05 Jun 2015 03:55 PM
I meant a model qq ^^
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
05 Jun 2015 10:02 PM
bump
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
05 Jun 2015 10:57 PM
b3
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
05 Jun 2015 10:57 PM
serious rotation maths and some building skills
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
05 Jun 2015 11:01 PM
Any good like tutorial like things?
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
05 Jun 2015 11:05 PM
probably grade 7 - 8 math class is the best tutorial for rotation maths since you learn math.pi and angles and geometry and stuff.
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
05 Jun 2015 11:46 PM
Make new instances on the torso..
Report Abuse
neverhammer is not online. neverhammer
Joined: 13 Sep 2009
Total Posts: 963
06 Jun 2015 12:26 AM
Well, what I would do is I would start by placing a node a certain distance from the torso, then continue with that vector and add more nodes of equal distance to the node before it. Then I would go through each node and 'suggest' a random offset to give it a lightning bolt look. Determine if the node is too far off the lighting's vector using this formula: cos a = [(u1*v1)+(u2*v2)]/[(u1^2+u2^2)^.5]*[(v1^2+v2^2)^.5] and check to see if the cosine value is within the prefered range. Do this for each node. Lastly, connect the nodes with parts with CFrame.new(nodeBefore, nodeAfter) and then measure the distance between the two nodes, resize the part, and place the part in the direct center of the two nodes. Repeat for each node.
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
06 Jun 2015 11:53 AM
thx ^
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image