Killer.Penguin Posted March 7, 2014 Posted March 7, 2014 Well, is there any function that cast a line and return all physical bodies that get intersected? I'm used to this ray cast function in Unity, and I'm wondering how do we go about it in Unigine..
binstream Posted March 7, 2014 Posted March 7, 2014 Use intersection functions: https://developer.unigine.com/en/docs/1.0/scripting/library/engine/engine.world?words=intersection,intersect#engine.world.getIntersectionNodesVariable_variable_variable_int_int
ulf.schroeter Posted March 7, 2014 Posted March 7, 2014 https://developer.unigine.com/en/docs/1.0/scripting/library/engine/engine.physics#engine.physics.getIntersection_vec3_vec3_int_int
Recommended Posts