|
| 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 |
|
|
|
| 15 Oct 2016 07:02 AM |
| BodyGyro and set the desired angle to head downwards. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 15 Aug 2016 |
| Total Posts: 799 |
|
| |
|
|
| 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
|
  |
| Joined: 15 Aug 2016 |
| Total Posts: 799 |
|
|
| 15 Oct 2016 07:14 AM |
Set a max distance, then lerp it via quadratic
|
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|