Skip to reading
Shaders, Effects & Layered Scenery

49. Point contacts and attachment are separate

Edition 0.86.4.0

Revised 0.86.4.0 edition with new supplements; earlier 0.86.3.4 lessons and screenshot labels are retained within the supplied PDF.

Download PDFView PDF page

A contact radius around a named point can test whether two points touch. This is useful for a hand reaching a switch or two authored hand points meeting during a handshake. Attaching an emitter does not require a nonzero contact radius.

Source table from 49. Point contacts and attachment are separate, page 53
OperationPurpose
Get Attach PointInspect the current world point and its resolved definition.
Attach PointsAlign two points and keep following. Its movement-suspension option is useful for actors, not needed to animate a particle source.
Align Attach PointsAlign once, without retaining a follower link.
Attach Points TouchingTest the current pose against point radii and optional tolerance.
Watch Attach Point ContactsWatch a named entity pair for contact callbacks.
Remove Attach PointRemove/mask an instance point and release links that depended on it.

For attach/get calls, a blank point can mean the entity origin. For contact queries, a blank point filter means all enabled named points on that side. It does not invent an origin contact sphere.

Contact queries do not apply particle damage automatically. If a lightning effect should activate a machine when the hand reaches it, use the contact result or callback to run the machine’s action list.

Do not use an actor-to-actor persistent attachment as a shortcut for every interaction. It can move the source actor. Choose contact testing, one-time alignment or a persistent link according to the behavior you actually need.

Page 53 of 93Permalink
Go to page