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: [HELP] Body Position Problem

Previous Thread :: Next Thread 
KritikalGunzz is not online. KritikalGunzz
Joined: 10 Nov 2013
Total Posts: 1633
29 Jan 2017 09:18 AM
When I apply a BodyPosition Force to my Knife, it works great in Studio but in game, the knife travels slow and a little messed up. You can test it here:

https://www.roblox.com/games/611999620/Knife-test#!/game-instances

The knife travels pretty slow with the BodyPosition .P of 15000. What would be the solution to this?
Report Abuse
ChiefDays is not online. ChiefDays
Joined: 26 Sep 2016
Total Posts: 502
29 Jan 2017 09:26 AM
Firstly, in a BodyPosition you don't have to change the P but the MaxForce.

Even with [BP.P = math.huge] the MaxForce will limit it's speed.
Instead change the MaxForce to Vector3.new(math.huge,math.huge,math.huge).

http://wiki.roblox.com/index.php?title=API:Class/BodyPosition

Either way you can use BodyVelocity(Best choice).

http://wiki.roblox.com/index.php?title=API:Class/BodyVelocity


Report Abuse
KritikalGunzz is not online. KritikalGunzz
Joined: 10 Nov 2013
Total Posts: 1633
29 Jan 2017 09:39 AM
@Chief

Thanks for the Info. I changed it to BodyVelocity like you said and it works alot better. But I still see it glitching in mid air unlike other games where it is much visually smoother. Is this because of lag and is there any solution?
Report Abuse
ChiefDays is not online. ChiefDays
Joined: 26 Sep 2016
Total Posts: 502
29 Jan 2017 09:53 AM
Disable the BodyVelocity when it hits something.


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