MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnServerCollide

Method OnServerCollide

netgames/dmfc/dmfcserver.cpp:141–141  ·  view source on GitHub ↗

DMFCBase::OnServerCollide Event handler for when two objects collide. At least one of the two objects is a player or a robot. Be aware that this event will be called twice per collision, the second time it is called the me and it objects will be flipped. me_obj = object pointer to the me object it_obj = object pointer to the it object

Source from the content-addressed store, hash-verified

139// me_obj = object pointer to the me object
140// it_obj = object pointer to the it object
141void DMFCBase::OnServerCollide(object *me_obj, object *it_obj) {}
142void DMFCBase::OnServerCollide(object *me_obj, object *it_obj, vector *point, vector *normal) {}
143
144// DMFCBase::OnServerPlayerChangeSegment

Callers 6

OnServerCollideFunction · 0.45
OnServerCollideFunction · 0.45
OnServerCollideFunction · 0.45
OnServerCollideFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected