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: Part collides when spawned

Previous Thread :: Next Thread 
NinjaFlamez is not online. NinjaFlamez
Joined: 03 Oct 2012
Total Posts: 132
17 May 2015 04:36 PM
Ok so i have a script when you click with a tool it spawns a circle where your torso is. The problem is if you are near a wall it will spawn the circle above the wall (so it doesnt touch the wall) Even though I have can collide off on the circle that spawns, any help?
Report Abuse
suremark is not online. suremark
Joined: 13 Nov 2007
Total Posts: 6315
17 May 2015 04:54 PM
You need to set the circle's position by CFrame, and not Position.
Report Abuse
NinjaFlamez is not online. NinjaFlamez
Joined: 03 Oct 2012
Total Posts: 132
17 May 2015 04:56 PM
COuld i set the CFrame the same place as the tool parents torso?
Report Abuse
suremark is not online. suremark
Joined: 13 Nov 2007
Total Posts: 6315
17 May 2015 04:57 PM
Yep, that'd be the way to do it. Is the "circle" just a single part, or is it a collection of parts?
Report Abuse
NinjaFlamez is not online. NinjaFlamez
Joined: 03 Oct 2012
Total Posts: 132
17 May 2015 05:07 PM
just one part, so would i do
v = Instance new ("CFrameValue")
v.value = script.Parent.Parent (character) .Torso.Position

? then cframe to that value? i know i didnt use proper caps and stuff
Report Abuse
NinjaFlamez is not online. NinjaFlamez
Joined: 03 Oct 2012
Total Posts: 132
17 May 2015 05:26 PM
I got it now thanks
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