I want an object to do something if another object collides with it, very similar to the "Collision"-logic-brick in the bge. Is there any way to use a similar method in another engine? I am aware of a python command collision. Maybe it can integrated into a driver.


1 Answer 1


I dont know about the blender logic operations but this is what I can do in this case:

  • Add a driver for the operation you want to apply to the object.

  • Add a distance variable and set the object to itself and the other object.

  • Add a custom property and call it margin which will be the margin of the object (the distance in which the object will interact from the origin point).

  • Add this custom property to a single property variable.

  • Type "ternary conditional operator" like this in the expression.

  • Now when ever the "Cube.001" touch the "cube" the scale will change to 2 instead of 1 (and of course you can change the operation)


Here is the result

  • $\begingroup$ Is this also pssible with a particle system? Meaning a particle touches the obkect and the object transforms. $\endgroup$ Jan 25, 2016 at 8:27
  • $\begingroup$ So you want the action to be applied when the particle system touch the object? $\endgroup$
    – Omar Emara
    Jan 25, 2016 at 9:02
  • $\begingroup$ Exacly: A particle hits, an action is performed. $\endgroup$ Jan 25, 2016 at 10:30
  • $\begingroup$ I can't think of a solution other than scripting,But if you want to apply this action based on the location of the particle in a material or something,you may want to try dynamic paint. $\endgroup$
    – Omar Emara
    Jan 25, 2016 at 11:51
  • $\begingroup$ There are great solutions over here: There are some great solutions here: blender.stackexchange.com/questions/71289/… $\endgroup$
    – Adam
    Jul 6, 2019 at 2:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.