|
Okay, I honestly thought that people had this made, it was fully supported, and relatively easy to do. But I was wrong.
What I'm aiming to do: I want people to be able to walk into a certain trigger and have their body flipped a direction and pushed down that way, not just up. When they hit the trigger again they go back to regular gravity.
Person>Walks over trigger>Get flipped and is pulled that way> hits trigger again>back to normal :D
I do hope someone could help me. Or just give me the script if it ha already been done.
-AwesomeGamer72
|
|
suremarkJoin Date: 2007-11-13 Post Count: 6315 |
It's not straightforward because Humanoids can't have their orientation flipped. You'll have to do what is effectively a manual override and implement your own keyboard interface, health bar, tool equipping, movement, and animations. You can probably salvage the GUI's and animations from the existing ROBLOX characters, but the rest is a bit tricky albeit not impossible. |
|
|
Not exactly what I was expecting to hear, but I guess it's realistic. Then I did more looking around, and found Oysi's place "Galactic wars". I thought that he/she had to go through the same thing? |
|
rbxcacJoin Date: 2012-03-08 Post Count: 810 |
Or you could just flip all the contents of Workspace (other than the player that's reversing gravity). It would simulate a change in gravity. |
|
|
|
osyi rotates his planets, not hte character. |
|
blockooJoin Date: 2007-11-08 Post Count: 17202 |
Humanoid CAN be manipulated to directional gravity. You simply need to set the Rotation property of Torso or HumanoidRootPart. |
|
|
Oh yeah, when I set the rotate CFrame of the root part, ur person can be stuck looking angeled. |
|
suremarkJoin Date: 2007-11-13 Post Count: 6315 |
@Blockoo Have you tested this? For as long as I can remember, rotating the character has always just tripped the Humanoid. I don't have access to studio presently, but I will try it when I get home. |
|
blockooJoin Date: 2007-11-08 Post Count: 17202 |
It does work, but the angle resets when the player jumps. |
|
|
I don't want to use the CFraming stuff, I want to be able to collide with parts. XD |
|
|
I want the player to be flipped in a certain area, not the entire game. I want this to be disabled by a button, a time, and a trigger. It shouldn't effect all the players either. |
|
blockooJoin Date: 2007-11-08 Post Count: 17202 |
Not using CFrame, using the Rotation property of the Torso. |
|
|
No, what LordMatthewII said. |
|
|
Were not going to make anything for you, do it yourself. |
|
|
Well if anyone could help me that would be great. I'm kind of new to this. |
|
lokkutJoin Date: 2009-03-18 Post Count: 1794 |
its quite easy
just have a go and i'll help you when you get stuck |
|
|
|
I felt like I needed to bump.
|
|
|
You could just rotate the torso by changing the C1 of the RootWeld
~Upload code to codepad-dot-org with Lua syntax highlighting to preserve indentation and make it easier to read!~ |
|
|
Oh my god mike is a genius. |
|
|
Okay by "I'm kind of new to this" I meant I have no experience with this at all. If someone could help me assign this to a trigger that would be great. |
|