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: Directional Gravity

Previous Thread :: Next Thread 
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
03 Oct 2014 09:02 PM
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
Report Abuse
suremark is not online. suremark
Joined: 13 Nov 2007
Total Posts: 6315
03 Oct 2014 09:12 PM
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.
Report Abuse
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
04 Oct 2014 11:16 AM
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?
Report Abuse
rbxcac is not online. rbxcac
Joined: 08 Mar 2012
Total Posts: 810
04 Oct 2014 01:17 PM
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.
Report Abuse
builderman0621 is not online. builderman0621
Joined: 13 Jul 2010
Total Posts: 1612
04 Oct 2014 01:25 PM
^
ew no
Report Abuse
LordMatthewII is not online. LordMatthewII
Joined: 20 Aug 2011
Total Posts: 10873
04 Oct 2014 02:05 PM
osyi rotates his planets, not hte character.
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
04 Oct 2014 02:06 PM
Humanoid CAN be manipulated to directional gravity. You simply need to set the Rotation property of Torso or HumanoidRootPart.
Report Abuse
LordMatthewII is not online. LordMatthewII
Joined: 20 Aug 2011
Total Posts: 10873
04 Oct 2014 02:08 PM
Oh yeah, when I set the rotate CFrame of the root part, ur person can be stuck looking angeled.
Report Abuse
suremark is not online. suremark
Joined: 13 Nov 2007
Total Posts: 6315
04 Oct 2014 02:34 PM
@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.
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
04 Oct 2014 02:37 PM
It does work, but the angle resets when the player jumps.
Report Abuse
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
04 Oct 2014 02:56 PM
I don't want to use the CFraming stuff, I want to be able to collide with parts. XD
Report Abuse
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
04 Oct 2014 02:58 PM
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.
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
04 Oct 2014 03:57 PM
Not using CFrame, using the Rotation property of the Torso.
Report Abuse
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
04 Oct 2014 04:09 PM
No, what LordMatthewII said.
Report Abuse
LordMatthewII is not online. LordMatthewII
Joined: 20 Aug 2011
Total Posts: 10873
04 Oct 2014 04:10 PM
Were not going to make anything for you, do it yourself.
Report Abuse
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
05 Oct 2014 03:53 PM
Well if anyone could help me that would be great. I'm kind of new to this.
Report Abuse
lokkut is not online. lokkut
Joined: 18 Mar 2009
Total Posts: 1794
05 Oct 2014 03:56 PM
its quite easy
just have a go and i'll help you when you get stuck
Report Abuse
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
05 Oct 2014 05:00 PM
Thanks man.
Report Abuse
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
06 Oct 2014 07:46 PM
I felt like I needed to bump.
Report Abuse
nicemike40 is not online. nicemike40
Joined: 19 Dec 2008
Total Posts: 1814
06 Oct 2014 08:47 PM
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!~
Report Abuse
LordMatthewII is not online. LordMatthewII
Joined: 20 Aug 2011
Total Posts: 10873
06 Oct 2014 08:56 PM
Oh my god mike is a genius.
Report Abuse
AwesomeGamer72 is not online. AwesomeGamer72
Joined: 12 Sep 2012
Total Posts: 9
11 Oct 2014 05:45 PM
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.
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