Garry's Mod

Garry's Mod

268 ratings
Expression 2 Bone Core
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Realism
File Size
Posted
Updated
413.000 B
25 Mar, 2017 @ 1:44am
27 Mar, 2017 @ 4:39am
4 Change Notes ( view )

Subscribe to download
Expression 2 Bone Core

In 1 collection by Void
%noname% Server Addons
93 items
Description
This addon helps rotating bones using Expression 2!
Also it checks entity's owner, so other players can't move your or your entities bones.

Functions:

entity:setBoneAngle(number boneid,angle rot) - Rotates entity's bone with given ID
entity:getBonePosition(number boneid) - Returns vector position of entity's bone

Attached video shows, what you can do with these functions!
(Framerate on the video is poor, actually moving bones is very smooth)
11 Comments
dvrk xvggot 17 Nov, 2021 @ 4:13pm 
this would be cool, but I have no idea how to get boneids
Hong Kong 9 Nov, 2021 @ 6:35pm 
is there a way to change the position of bones? I haven't really looked too deep into it yet so I apologize if this is a dumb question.
prototype money stock broker 4 Oct, 2021 @ 9:27pm 
how do you get the bone ids? i tried this on a ragdoll with a for loop on the array of E:bones and it only moved the fingers
🔴⚫ Mile Canob 🔴⚫ 12 Sep, 2021 @ 4:40pm 
how do i use it? I can't find it in wire and neither in E2 extensions
Knight 'Pink from the Outset' 23 Jun, 2020 @ 12:40pm 
Is the angle input to setBoneAngle a local or world angle?
Master Chief 6 Jan, 2019 @ 7:05am 
I can't stop this editing bone, becuase it won't work to wiremod bone.
Void  [author] 9 Mar, 2018 @ 1:16am 
Just getting eye angles of E2's owner.
ileryon 8 Mar, 2018 @ 6:34pm 
how do you mouse control ?
Octo 23 Jul, 2017 @ 5:33am 
Thanks! Works now. Now I'll be able to make progress of that E2 TF2 Sentry Gun :)
Void  [author] 23 Jul, 2017 @ 5:29am 
Number of the model's bone, of course. Unfortunately, you should try to find the needed bone using diffirent id's every time.