Hide bone query.

78 views
Skip to first unread message

Swiss Farmer

unread,
Jan 15, 2021, 3:39:56 AM1/15/21
to Atoms Crowd
Hi,

I can successfully hide bones on a ue4 skeletal mesh using a hit result.
Having a problem with an atoms skeleton.............how do I find a reference to It ?
I can get the bone name for the hit agent after init ragdoll.

Thanks

Tim

Daniele Federico

unread,
Jan 15, 2021, 4:40:33 AM1/15/21
to Atoms Crowd, Swiss Farmer
Hello Tim,
the docs say for the Hide Bone blueprint node: "Hides the specified bone with name. Currently this just enforces a scale of 0 for the hidden bones. "

Please set the scale of the desired Atoms joint at 0 and you will achieve the same effect.

Thanks,
Daniele

Alan Stanzione

unread,
Jan 15, 2021, 4:56:27 AM1/15/21
to Daniele Federico, Atoms Crowd, Swiss Farmer
Hello Tim,
to get the bone name from the hit result you first need to enable the generate hit events on the agentcollision component and on the actor that is colliding with the agent. Then use the OnActorHit event of the other actor, break the hit result and you have the boen name on the Hit Bone Name pin, while with the hit item slot you have the agent group id that you can use to get the agent object from the agent group. At this point you have all you need to access the agent data.
image.png

--
You received this message because you are subscribed to the Google Groups "Atoms Crowd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to atoms-crowd...@toolchefs.com.
To view this discussion on the web visit https://groups.google.com/a/toolchefs.com/d/msgid/atoms-crowd/0e09b650-5472-4a1b-ace8-35d996a88060n%40toolchefs.com.


--
Alan Stanzione | CTO - Co-Founder

Toolchefs LTD
86-90, Paul Street,
London, EC2A 4NE


LTD Company registered in England & Wales # 09345032

Alan Stanzione

unread,
Jan 15, 2021, 5:45:04 AM1/15/21
to Swiss Farmer, Daniele Federico, Atoms Crowd
No, that is the main blueprint level. For what you need to do there are some stuff to prepare. So if you want hide joints that are hit by something you first need to implement the hit logic like in my screenshot. So add the onhit event and get the agent id and bone name. At this point you can't set the scale of the joint at zero directly because the scale will be overridden at the next tick by the state machine module that recompute the full pose. So you need to store this information somewhere and then create a blueprint behaviour module that read this data and set the joint scale in the endFrame event.You can store this on behaviour component as array property for example.
Hope this helps.
Alan

On Fri, Jan 15, 2021 at 10:27 AM Swiss Farmer <specia...@gmail.com> wrote:
Hi superstars !
Already set the bone scale to zero.
I was trying to do the hide bone after ragdoll........after following your ragdoll tutorial.
I now see that you call bones "joints" in your nodes.
Is your picture showing an atoms behaviour blueprint ?

Thanks for your help
Keep safe

Tim

Swiss Farmer

unread,
Jan 15, 2021, 5:49:49 AM1/15/21
to Alan Stanzione, Daniele Federico, Atoms Crowd
Hi superstars !
Already set the bone scale to zero.
I was trying to do the hide bone after ragdoll........after following your ragdoll tutorial.
I now see that you call bones "joints" in your nodes.
Is your picture showing an atoms behaviour blueprint ?

Thanks for your help
Keep safe

Tim

On Fri, Jan 15, 2021 at 10:56 AM Alan Stanzione <al...@toolchefs.com> wrote:

Swiss Farmer

unread,
Jan 15, 2021, 7:09:24 AM1/15/21
to Alan Stanzione, Daniele Federico, Atoms Crowd
Thanks.............will investigate.....after an afternoon on the slopes.....fresh powder snow.....3 feet overnight....eat your heart out !!!
Reply all
Reply to author
Forward
0 new messages