I am trying to emulate the properties of the collisionhandlerpusher with a few modifications, but cannot find the function shoves.push_back(sd); inside of collisionhandlerpusher.cxx…where is this function and/or how does it work?


It’s there (at least in 1.3.2): … .cxx#first

shoves is a pvector, a Panda version of std::vector (correct me if I’m wrong). It is kind of like a resizable array. (In this case, it’s an array of ShoveData’s).
push_back simply means it appends an item to the end of that pvector.