Jump to content

Help with creating a custom asteroid grabbing unit


Recommended Posts

Hey all,

I've been scratching my head on how to properly set up a 3D model so that it works like the stock asteroid grabbing unit. I can see that there is a ModuleGrappleNode that is used along with a ModuleAnimateGeneric, like so:

MODULE

{

name = ModuleGrappleNode

nodeTransformName = ArticulatedCap

deployAnimationController = 1

nodeType = size1

captureRange = 0.05

captureMinFwdDot = 0.866

captureMaxRvel = 1

}

MODULE

{

name = ModuleAnimateGeneric

animationName = Deploy

startEventGUIName = Arm

endEventGUIName = Disarm

actionGUIName = Toggle Arming

}

I have tried creating a collider for the ModuleGrappleNode to work with but I don't know if there is anything special about how I should set it up. Do I need a part trigger of some sort? Any tips on how to make a custom grabber?

Thanks for the help! :)

Link to comment
Share on other sites

works very much like Docking Nodes. +Z is the direction to attach. You don't want a collider on the grapple node. collider will prevent anything from getting close enough for the grapple node to grab. Grapple node will attach to anything that comes in slow enough and close enough, so you need an animation to put a collider in front of it or retract it into something else.

Link to comment
Share on other sites

works very much like Docking Nodes. +Z is the direction to attach. You don't want a collider on the grapple node. collider will prevent anything from getting close enough for the grapple node to grab. Grapple node will attach to anything that comes in slow enough and close enough, so you need an animation to put a collider in front of it or retract it into something else.

Ah that's my problem! I had a collider on the node and it was preventing the grapple module from working. Thanks for the help! :)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...