Ok, here's a quick and concise question: is there any way to rotate objects you are holding in place with the physics gun? This would be especially helpful in building dupes/maps where I don't want to move my entire character around to get the object I want in place. Thanks in advance!
WinterbladeWinterblade
1 Answer
The tertiary trigger (USE key, E by default) when held allows the user to rotate the object if grabbed by using the mouse.
![The The](https://vignette.wikia.nocookie.net/half-life/images/4/4e/Physgun_view.jpg/revision/latest?cb=20091210230407&path-prefix=en)
- http://gmod.wikia.com/wiki/Physgun
MicroParsecMicroParsec
Not the answer you're looking for? Browse other questions tagged garrys-mod or ask your own question.
-
['children'] = {
-
['children'] = {
-
['self'] = {
-
['Name'] = 'Dubstep Gun - Part 1',
-
['Position'] = Vector(3.847900390625, 3.4215087890625, -1.1875),
-
['EditorExpand'] = true,
-
['ClassName'] = 'model',
-
['Angles'] = Angle(1.4407430626306e-006, -90.000022888184, 179.88636779785),
-
['Model'] = 'https://dl.dropboxusercontent.com/s/h0snnfmthew5dpo/dubstep%20gun.obj?dl=0',
-
['Material'] = 'https://dl.dropboxusercontent.com/s/9kav9ltcezzif9e/dubstepgun_skina_d.jpg?dl=0',
-
},
-
['children'] = {
-
['children'] = {
-
['self'] = {
-
['EditorExpand'] = true,
-
['ClassName'] = 'entity',
-
},
-
['children'] = {
-
['self'] = {
-
['ClassName'] = 'holdtype',
-
['CrouchIdle'] = 'cidle_smg1',
-
['StandIdle'] = 'idle_smg1',
-
},
-
[3] = {
-
},
-
['Overlapping'] = true,
-
['UniqueID'] = '180943267',
-
},
-
},
-
['Arguments'] = 'weapon_physcannon@@1',
-
['Event'] = 'weapon_class',
-
['EditorExpand'] = true,
-
},
-
},
-
['ClassName'] = 'group',
-
['Name'] = 'dubstep gun model',
-
},
-
['children'] = {
-
['children'] = {
-
['self'] = {
-
['Name'] = 'Dubstep Gun - Part 1',
-
['Position'] = Vector(3.847900390625, 3.4215087890625, -1.1875),
-
['EditorExpand'] = true,
-
['ClassName'] = 'model',
-
['Angles'] = Angle(-0.01943701133132, -99.856506347656, 179.88807678223),
-
['Model'] = 'https://dl.dropboxusercontent.com/s/h0snnfmthew5dpo/dubstep%20gun.obj?dl=0',
-
['Material'] = 'https://dl.dropboxusercontent.com/s/9kav9ltcezzif9e/dubstepgun_skina_d.jpg?dl=0',
-
},
-
['children'] = {
-
['self'] = {
-
['Angles'] = Angle(-0.62848949432373, -22.854572296143, -4.6058478355408),
-
['UniqueID'] = '3515087525',
-
},
-
[3] = {
-
[1] = {
-
},
-
['UniqueID'] = '3949332206',
-
['DrawWeapon'] = false,
-
},
-
[2] = {
-
},
-
['Overlapping'] = true,
-
['UniqueID'] = '2444055528',
-
},
-
[3] = {
-
},
-
['WeaponHoldType'] = 'passive',
-
['UniqueID'] = '423416637',
-
},
-
['children'] = {
-
['self'] = {
-
['ClassName'] = 'ogg',
-
['Radius'] = 1000,
-
['URL'] = 'https://dl.dropboxusercontent.com/s/u4ausp9zud5zllt/popstar%20fixed%20muffled.ogg?dl=0',
-
['Volume'] = 0.825,
-
},
-
['self'] = {
-
['Invert'] = true,
-
['UniqueID'] = '576037316',
-
['ClassName'] = 'event',
-
},
-
['self'] = {
-
['UniqueID'] = '1897463406',
-
},
-
[3] = {
-
[1] = {
-
[1] = {
-
},
-
['ClassName'] = 'entity',
-
['UniqueID'] = '1227797467',
-
},
-
['children'] = {
-
['self'] = {
-
['UniqueID'] = '1239162728',
-
['Arguments'] = 'weapon_physcannon',
-
},
-
},
-
['ClassName'] = 'event',
-
['Event'] = 'is_flashlight_on',
-
['Name'] = 'thing',
-
},
-
[2] = {
-
[1] = {
-
[1] = {
-
[1] = {
-
},
-
['Max'] = 60,
-
['UniqueID'] = '210967015',
-
['Min'] = 40,
-
},
-
[2] = {
-
},
-
['ClassName'] = 'event',
-
['Event'] = 'timer',
-
['Invert'] = true,
-
},
-
['self'] = {
-
['UniqueID'] = '146156727',
-
['EndPointUID'] = '1819288620',
-
['Width'] = 46.870975961328,
-
['Material'] = 'trails/laser',
-
['Translucent'] = true,
-
},
-
},
-
['ClassName'] = 'model',
-
['Model'] = 'models/pac/default.mdl',
-
['Name'] = 'pink',
-
},
-
[2] = {
-
[1] = {
-
[1] = {
-
},
-
['ClassName'] = 'event',
-
['Event'] = 'timer',
-
['Invert'] = true,
-
},
-
['children'] = {
-
['self'] = {
-
['ClassName'] = 'proxy',
-
['InputMultiplier'] = 5.5,
-
['VariableName'] = 'Width',
-
},
-
['self'] = {
-
['UniqueID'] = '3712624374',
-
['EndPointUID'] = '525823927',
-
['Width'] = 14.502050300738,
-
['Material'] = 'trails/smoke',
-
['Translucent'] = true,
-
},
-
[2] = {
-
},
-
['UniqueID'] = '807715841',
-
['Color1'] = Vector(72, 72, 72),
-
['Lighting'] = false,
-
['ClassName'] = 'particles',
-
['Spread'] = 0,
-
['StartSize'] = 90,
-
['Gravity'] = Vector(0, 0, 0),
-
},
-
['children'] = {
-
['self'] = {
-
['DieTime'] = 1.3,
-
['Lighting'] = false,
-
['Color1'] = Vector(220, 0, 255),
-
['NumberParticles'] = 1.6,
-
['ClassName'] = 'particles',
-
['Spread'] = 40.5,
-
['Material'] = 'sprites/glow04_noz',
-
['Gravity'] = Vector(0, 0, 0),
-
},
-
['self'] = {
-
['UniqueID'] = '1510282755',
-
['Bone'] = 'hitpos',
-
['Size'] = 0,
-
},
-
['children'] = {
-
['self'] = {
-
['UniqueID'] = '2462863132',
-
['Color2'] = Vector(0, 255, 255),
-
['FireDelay'] = 0,
-
['Position'] = Vector(-0.82421875, -1.9423828125, -4.9890747070313),
-
['ClassName'] = 'particles',
-
['Spread'] = 0,
-
['EditorExpand'] = true,
-
['Gravity'] = Vector(0, 0, 0),
-
},
-
['children'] = {
-
['self'] = {
-
['UniqueID'] = '3799001552',
-
['EndLength'] = 1,
-
['StartAlpha'] = 135.2,
-
['ClassName'] = 'particles',
-
['Spread'] = 7.2,
-
['Lighting'] = false,
-
['Gravity'] = Vector(0, 0, 0),
-
},
-
['children'] = {
-
['self'] = {
-
['Position'] = Vector(-0.732421875, -2.31396484375, -8.6944274902344),
-
['Size'] = 0,
-
['UniqueID'] = '1819288620',
-
},
-
['children'] = {
-
['self'] = {
-
['UniqueID'] = '1596051641',
-
['Color2'] = Vector(255, 0, 0),
-
['FireDelay'] = 0,
-
['Position'] = Vector(-1.00390625, -1.93701171875, -8.8466491699219),
-
['ClassName'] = 'particles',
-
['Spread'] = 0,
-
['EditorExpand'] = true,
-
['Gravity'] = Vector(0, 0, 0),
-
},
-
['children'] = {
-
['children'] = {
-
['children'] = {
-
['self'] = {
-
['ClassName'] = 'proxy',
-
['InputMultiplier'] = 5.5,
-
['VariableName'] = 'Width',
-
},
-
['children'] = {
-
['self'] = {
-
['UniqueID'] = '3433687350',
-
['Arguments'] = '1.7',
-
},
-
},
-
['StartColor'] = Vector(0, 255, 255),
-
['Bend'] = 0,
-
['Width'] = 59.994445806643,
-
['Material'] = 'trails/laser',
-
['Translucent'] = true,
-
},
-
},
-
['ClassName'] = 'model',
-
['Model'] = 'models/pac/default.mdl',
-
['Name'] = 'blue',
-
},
-
[8] = {
-
},
-
['Velocity'] = 10,
-
['DieTime'] = 0.7,
-
['FireDelay'] = 0,
-
['EndSize'] = 2,
-
['StartLength'] = 100,
-
['Material'] = 'particle/smokesprites_0003',
-
['NumberParticles'] = 2.6,
-
},
-
[9] = {
-
},
-
['Velocity'] = 10,
-
['UniqueID'] = '3502718195',
-
['Lighting'] = false,
-
['FireDelay'] = 0,
-
['EndSize'] = 2,
-
['StartLength'] = 100,
-
['EndLength'] = 1,
-
['Color2'] = Vector(127, 0, 255),
-
},
-
[10] = {
-
},
-
['Alpha'] = 0,
-
['UniqueID'] = '3032142431',
-
['Name'] = 'effect 1',
-
},
-
[11] = {
-
},
-
['ClassName'] = 'model',
-
['Position'] = Vector(-0.7431640625, -2.30908203125, -5.172119140625),
-
['Size'] = 0,
-
['UniqueID'] = '1655105722',
-
},
-
['self'] = {
-
['ClassName'] = 'model',
-
['Size'] = 0.5,
-
['Bone'] = 'right hand',
-
['Position'] = Vector(28.00244140625, 5.722412109375, -6.6201171875),
-
},
-
['children'] = {
-
['self'] = {
-
['ClassName'] = 'ogg',
-
['EditorExpand'] = true,
-
['URL'] = 'https://dl.dropboxusercontent.com/s/aw7iregz7071ecx/popstar%20fixed.ogg?dl=0',
-
['Name'] = 'Dubstep Gun - Song',
-
},
-
},
-
['ClassName'] = 'group',
-
['Name'] = 'event - physcannon',
-
},
![How How](/uploads/1/2/3/7/123706420/114883315.jpg)
Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking âSign up for GitHubâ, you agree to our terms of service and privacy statement. Weâll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Aug 1, 2013
Running Steam/GMOD on a Toshiba Laptop 8GB/750GB Intel P7
Within the past week, my Gravity gun and weapons no longer work to fire with the mouse. Mouse works fine with all apps, including CSS, all the Half Lifes, Portals, etc.
I uninstalled and reinstalled without and subscribed add-ons and still get this weird behavior. About at wits end. - any ideas what is at play here?
|
commented Aug 4, 2013
Check your options, maybe mouse1 got unbound.
|
commented Aug 5, 2013
body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}Thank you! That fixed my issue right up! Made my little guy a happy camper again.-----Original Message-----
From: CaptainZero Sent: Aug 4, 2013 6:36 PM To: Facepunch/garrysmod-issues Cc: slipperman1 Subject: Re: [garrysmod-issues] Garry's Mod Weapons and Gravity Gun Not Working (#339)
Check your options, maybe mouse1 got unbound.
âReply to this email directly or view it on GitHub.
|
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Posted by1 year ago
Archived
So these problems randomly cropped up and I have no idea how they appeared and how to fix them, I have tried reinstalling my game, reinstalling all my addons, deleting all my addons, reinstalling again, verifying the integrity of the game cache and unmounting games like half life but nothing has helped and I can't find anything on the internet that actually works.
Grav Gun: https://imgur.com/a/tjqWE
Rocket Launcher: https://imgur.com/a/z5Wp0
Now the next weapons have the problem where they do not appear in the hands and just rotate around the waist, this also appears on other players
Gravity Gun: https://imgur.com/a/ql3ax
How To Rotate Items With Gravity Gun
Phys Gun: https://imgur.com/a/2PqbX
Revolver (you can see it sticking out the back): https://imgur.com/a/hSmFf
Crossbow: https://imgur.com/a/HDftY
Gta 5 best muscle car. GTA 5 PS4 Online â Detailed breakdown of all the Fastest Muscle Cars on Grand Theft Auto Online with GTA 5 Gameplay, including the brand new Dukes & Stallion! Leave a Like if you enjoyed the vid! Thanks for the support:Try this track out available for PS3/PS4 only â â 2:0512th â 4:1411th â 6:1310th â 8:109th â 10:018th â 11:517th â 13:416th â 15:305th â 17:204th â 19:103rd â 20:572nd â 22:451st â 24:31⺠Join The Open GTA 5 Racing Crew: Follow Me On Twitter: Follow Me On Instagram: Like My Facebook Page For Exclusive Content: Subscribe To My Second Channel: Follow My Livestream!
7 comments
Gravity Gun | |
---|---|
The gravity gun as featured in Half-Life 2 and its Episodes.
|
|
First game | Half-Life 2 (2004) |
Created by | Gabe Newell[1] |
A gravity gun is a type of device in video games, particularly first-person shooters using an advanced physics engine, whereby players can directly manipulate objects in the world, often allowing them to be used as projectiles against hostile characters. The concept was originally featured in the first and third-person shooterStar Wars Jedi Knight II: Jedi Outcast in 2002 which first allowed the player to manipulate an enemy object's position with the player's movement.
The concept was popularized by the gravity gun found in Valve'sHalf-Life 2, as well as the Temporal Uplink found in Free Radical Design's TimeSplitters: Future Perfect; although a similar concept was used by id Software during the production of the earlier game Doom 3, eventually leading to the introduction of a physics-based weapon in the expansion pack Resurrection of Evil. Later games, such as Portal, BioShock, Crysis, and Dead Space, have been influenced by the success of these physics-based weapons, adopting their own styles of comparable abilities or weapons.
- 1Appearances
- 2Influence on later games
Appearances[edit]
Half-Life 2[edit]
Half-Life 2's gravity gun is capable of turning innocuous objects into weapons, as well as assisting in physics-based puzzles.
Valve Software's Half-Life 2 made significant use of physics in the game, powered by the Source engine. The physics engine within Source is derived from Havok, which opens up a wealth of possibilities for object interaction â particularly when later in the game, Freeman receives an energy-beam weapon that lets him move huge objects. Although the player can pick up and throw objects early in the game, this ability is somewhat limited in scope. Around a quarter of the way through the game, the player acquires the gravity gun, properly named as the 'Zero-point Energy Field Manipulator'. Alyx Vance explains that the gravity gun is designed for handling hazardous materials, but is mostly used for heavy lifting.[2] She explains to Gordon that she once found it useful 'for clearing minefields'. The gravity gun significantly increases the player's ability to manipulate objects in the game. Like most other weapons in the game, the gravity gun has two trigger functions. The primary trigger causes the gun to emit a small discharge which emits energy to the targeted object. The distance which the object is forced is dependent on its weight and distance from the gun. The secondary trigger attracts the targeted object to the gun and holds it in midair a few inches away, negating its weight and allowing the player to carry it with them. Using the secondary trigger again will drop the item, while the primary trigger will launch it with considerable force.
By combining these functions, players can use the gravity gun to scale barriers and obstacles, create cover against enemy characters, or launch the objects at enemy characters, causing them considerable damage. Certain types of objects, such as saw blades, fuel barrels and hydrogen tanks are intentionally designed by Valve to be used as 'gravity gun ammunition'. The gravity gun, however, cannot manipulate heavier objects and enemy characters until the late stages of the game, when the device becomes temporarily infused with dark energy meant to destroy it.
The gravity gun was very well received by critics, who considered it one of the defining features of Half-Life 2's entertainment value.[3] Planet Half-Life called the gravity gun 'the next level in interactive gaming.'[4]Electronic Gaming Monthly described Half-Life 2's gravity gun as the 'thinking man's death tool,' which lets players 'toy with gravity to kill foes with everyday objects.' Call of Duty series military adviser Hank Keirsey stated that 'the weapon is not very practical'. He did, however, discuss its historical precedents, further stating that 'The ancients learned very early how to use gravity to their advantage â but this usually involved rolling rocks down hills or pouring boiling oil down the castle walls. Those that failed to respect gravity suffered.'[5]
Influence on later games[edit]
TimeSplitters: Future Perfect Temporal Uplink[edit]
It was not until the third installment of the TimeSplitters franchise, TimeSplitters: Future Perfect, that the Temporal Uplink was given the ability to manipulate the physics in the game. In Future Perfect, the Temporal Uplink played a much larger role than that of its previous, map and mini-game oriented functionality, which the device was originally used for in TimeSplitters 2. Worn on the wrist of the main player character Sergeant Cortez, the uplink provides a map and the ability to pick up and throw objects, as well as the capability to activate switches remotely. Its grabbing abilities range from picking up weapons and ammo for use by the player in addition to launching objects from a distance at foes. This makes it an especially useful weapon for dispatching larger groups of enemies in the event that the player comes across one of the many explosive barrels placed throughout maps in the campaign mode of the game.[6]
Doom 3 grabber[edit]
The Doom 3 grabber enables the player to return enemy projectiles to their origin.
Although Half-Life 2 and TimeSplitters: Future Perfect were the first games released to feature a gravity gun (the former released on November 16, 2004 and the latter released on March 21, 2005), id Software had previously conceived a similar idea during the development of the earlier title Doom 3. id Software designer Matt Hooper noted that 'we actually used it as a tool throughout development where we'd grab physics objects and place them around the world'.[7] The tool was used to create 'damaged' rooms in Doom 3; instead of constructing a ruined room, the designers would code a pristine room and use the device to 'damage' it realistically. Although used to assist the development of Doom 3, the gravity gun was not implemented in the final game. Hooper explained that 'we talked about that quite a few times, but we had such a big arsenal of weapons, and so many other cool things going on, that it was just one of those things that never made it in'.[7] However, Nerve Software revived the code for the weapon five months after the release of Half-Life 2 in Doom 3's expansion pack, Resurrection of Evil.
The device is noted in the Doom 3 storyline as an 'ionized plasma levitator', created by the Union Aerospace Corporation for moving hazardous materials and a forerunner to tractor beams.[8] Usually referred to as the 'grabber', the player obtains the device early on in the course of Resurrection of Evil. The grabber operates differently from Half-Life 2's gravity gun, using only a single trigger function. Once the grabber is aimed at an appropriate object, it locks on, allowing the player to lift the object with the trigger.[9] When the player releases the trigger, the object will be propelled forward with force, turning it into an impromptu weapon. One key ability of the grabber is its capacity to lock on to the fireball projectiles cast by some hostile non-player characters, allowing players to turn the attack against their foe. However, unlike the gravity gun in Half-Life 2, the grabber cannot hold objects for as long as the player wishes; if they wait too long to launch the object, the grabber will start to overload and disengage, dropping the object gently on the ground.[9] Critics often compared the grabber directly with Half-Life 2's gravity gun,[10] some noting that the device was far more combat-focused in operation than the gravity gun; in particular, the ability to turn projectiles cast by enemies against them was praised.[11] However, the grabber was considered somewhat 'awkward' to use, requiring a 'finesse' that 'is rarely something the player has time for in a close-quarters situation'.[12]
Others[edit]
Various other video games have included gameplay features that allow players to use the game's physics to their advantage in combat. In some cases, these are manifested as weapons or devices. For instance, Portal (also created by Valve Software) features the Aperture Science Handheld Portal Device which displays a limited capacity to move objects around the game world, while Crytek's Crysis allows the player to throw objects and enemy characters considerable distances through the use of an experimental nanosuit.
In other games, however, it can be represented in a different manner:
- In Arkane Studios' Dark Messiah of Might and Magic a psychokinesis spell allows for similar functions as Half-Life 2's gravity gun.
- Destroy All Humans! portrayed a similar gravity usage, known as PK.
- 2K Games's BioShock displays the concept as a telekinesis plasmid.
- In EA's third-person horror shooter Dead Space, the player character acquires a 'Kinesis' module, which allows the player to grab and throw objects.[original research?]
- in the Open Arena mod Powerball, there is a weapon called gravity mine launcher, a modified version of the grenade launcher that release gravity mines, that attract to them any too close player.
- In Garry's Mod, one of the items is a gravity gun directly imported from Half-Life 2. It also includes a Physics Gun, a modified gravity gun which can position items and limbs as well as freeze them.
- In Subnautica, there is a weapon called the Propulsion Cannon that the developers jokingly called the Gravity Gun, allowing people to drag things closer and throw them great distances.
Reception[edit]
On IGN's list of top 100 weapons which originated in video games, the gravity gun was ranked #5.[13] On GamesRadar's list of top 100 weapons in video games, the gravity gun was ranked #2 just behind the Cerebral Bore from Turok 2.[14]
See also[edit]
References[edit]
- ^'The Top 100 Game Creators of All Time -16. Gabe Newell'. IGN. Retrieved July 18, 2016.
- ^Valve Corporation. Half-Life 2. PC. Level/area: Black Mesa East.
Alyx Vance: Its designed for handling hazardous materials, but we mainly use it for heavy lifting. [..] I've found it handy for clearing minefields.
- ^'Half-Life 2 review'. Edge (143). December 2004.
Tearing a radiator from a wall and using it to swat a parasitic headcrab, while all the furniture in a room goes tumbling around you, is truly a gaming epiphany.
- ^'The Gravity Gun: The Next Level in Interactive Gaming'. Planet Half-Life. July 3, 2007. Archived from the original on December 27, 2007. Retrieved December 17, 2007.
- ^Electronic Gaming Monthly features seven notable video game weapons and for each of them divides the profiles into sections headed as 'The Gun,' 'Keirsey says..Practicality,' 'Historical precedents,' and 'Lethality level.' See Evan Shamoon, 'Gun Show: A real military expert takes aim at videogame weaponry to reveal the good, the bad, and the just plain silly,' Electronic Gaming Monthly 230 (July 2008): 49.
- ^Lopez, Miguel (July 16, 2004). 'TimeSplitters: Future Perfect Preview'. GameSpy. Retrieved August 11, 2015.
- ^ abAccardo, Sal (January 5, 2005). 'Doom 3: Resurrection of Evil Preview'. GameSpy. Retrieved November 9, 2008.
- ^Nerve Software (2005). Doom 3: Resurrection of Evil. PC. Level/area: Black Mesa East.
UAC narrator: The prototype ionized plasma levitator was designed to transport hazardous materials without physical contact.. With further research and development, uses for this technology would include heavy lifting and the ability to create tractor beams, thereby making low gravity docking procedures much safer for pilots.
- ^ ab'ROE Weapons'. Planet Doom. GameSpy. Archived from the original on September 11, 2009. Retrieved November 12, 2008.
- ^Accardo, Sal (March 4, 2005). 'Doom 3: Resurrection of Evil Review'. GameSpy. Retrieved November 12, 2008.
- ^Shoemaker, Brad (March 5, 2005). 'Doom 3: Resurrection of Evil for PC Review'. GameSpot. Archived from the original on September 12, 2009. Retrieved November 12, 2008.
- ^McNamara, Tom (March 4, 2005). 'Doom 3: Resurrection of Evil Review'. IGN. Retrieved November 12, 2008.
- ^'Gravity Gun - #5 Top Video Game Weapons'. IGN. Retrieved August 11, 2015.
- ^'The 100 Best Weapons in Video Games'. GamesRadar. Retrieved August 11, 2015.
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Gravity_gun&oldid=890811052'