|
| 08 Jan 2017 12:11 AM |
| Prevent an object from tiliting more than a specifc angle feom its original angle |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jan 2017 12:17 AM |
Yes Eiter A use the rotation property (Idk if this would work) or B use CFrame. |
|
|
| Report Abuse |
|
|
|
| 08 Jan 2017 12:19 AM |
| Like i made this jetski but i dont want it to tilt more than 20 degrees, it floats fine but when a player jumps on it it flips over. |
|
|
| Report Abuse |
|
|
|
| 08 Jan 2017 12:21 AM |
| Check its CFrame w/ GetPrimaryPartCFrame(), if it is too far fix it or do whatever. |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jan 2017 12:23 AM |
| Would it work coz the starting position isnt 0 degrees and idk its angle coz its grouped |
|
|
| Report Abuse |
|
|
|
| 08 Jan 2017 12:24 AM |
| Well the problem you have there is physics based. Unless Roblox has some macros to hint it, you are dealing with graphical stuff. So a localscript would be advised, and welding everything to a part is advised. You could then constrain using... what game.RuntimeService? |
|
|
| Report Abuse |
|
|
|
| 08 Jan 2017 12:24 AM |
| Already welded the parts tgt |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 08 Jan 2017 01:30 AM |
learn trigonometry. learn lua. bam
|
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jan 2017 09:59 PM |
| Yep you can use body objects. This is done in Shedletsky's place. |
|
|
| Report Abuse |
|
|