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: Applying a force to an area of a brick

Previous Thread :: Next Thread 
Alectfenrir123 is not online. Alectfenrir123
Joined: 23 Mar 2010
Total Posts: 405
15 Oct 2016 07:00 AM
Hi all,

I'm trying to apply a downward force on the top of a brick so that it will fall head first.

The thing is, how do I achieve this?
Report Abuse
nooneisback is not online. nooneisback
Joined: 28 Feb 2012
Total Posts: 1672
15 Oct 2016 07:02 AM
BodyGyro and set the desired angle to head downwards.
Report Abuse
Alectfenrir123 is not online. Alectfenrir123
Joined: 23 Mar 2010
Total Posts: 405
15 Oct 2016 07:10 AM
I tried doing that, but the part gradually fell flat on the floor,

I want the part to land head first down though
Report Abuse
ParaText is not online. ParaText
Joined: 15 Aug 2016
Total Posts: 799
15 Oct 2016 07:10 AM
Fnet = ma!


Report Abuse
Alectfenrir123 is not online. Alectfenrir123
Joined: 23 Mar 2010
Total Posts: 405
15 Oct 2016 07:13 AM
I have 2 parts in the bullet, the head and the main body.

I tried to put bodyforce on the head which should bring the bullet head down first, but its not working. Help?
Report Abuse
ParaText is not online. ParaText
Joined: 15 Aug 2016
Total Posts: 799
15 Oct 2016 07:14 AM
Set a max distance, then lerp it via quadratic


Report Abuse
Alectfenrir123 is not online. Alectfenrir123
Joined: 23 Mar 2010
Total Posts: 405
15 Oct 2016 07:20 AM
I'm not particularly great with maths and I'm relatively new with scripting, however I noticed that when I try to apply multiple BodyForces to multiple parts in one model they don't collectively work.


Is there a way to make the head of the part apply a downward force which also takes down the separate part? (that is connected in one model)
Report Abuse
ParaText is not online. ParaText
Joined: 15 Aug 2016
Total Posts: 799
15 Oct 2016 07:26 AM
Have you tried welding the front section to the back section then applying the gravitational force on the front section and the forward force on the whole model?


Report Abuse
Alectfenrir123 is not online. Alectfenrir123
Joined: 23 Mar 2010
Total Posts: 405
15 Oct 2016 07:49 AM
did, it works (kind of) but the projectile is still falling flat on the floor.

I applied negative force to the front section.


Man why is Roblox making this so difficult >.<
Report Abuse
nooneisback is not online. nooneisback
Joined: 28 Feb 2012
Total Posts: 1672
15 Oct 2016 08:35 AM
As far as I understood, you are trying to simulate ballistics, the only way to do this effectively is by raycasting, in other words a ton of maths. Have fun :3
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
15 Oct 2016 08:47 AM
it doesn't matter where you apply the force on the brick as long as the force is in 1 direction it will only cause movement and not rotation

you need to use a bodygyro to turn the brick in the desired direction
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