You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to add one or two more callback functions for a 3D model. I am considering the stopping condition to be x and y are equal to zero or all x, y ,z are equal to zero. For some reason, I am not able to get results. Should it be like the following code?
I am considering the stopping condition to be x and y are equal to zero or all x, y ,z are equal to zero.
Inside of the affect! function, just check that the other value is sufficiently close to zero. You only need one condition for that. What you wrote there is x or y or z is zero.
Hey,
I am trying to add one or two more callback functions for a 3D model. I am considering the stopping condition to be x and y are equal to zero or all x, y ,z are equal to zero. For some reason, I am not able to get results. Should it be like the following code?
Also, what if I want to make all 6 states equal to zero? For example, when x = 0 then x_dot = 0.
In anticipation of your reply.
Regards
The text was updated successfully, but these errors were encountered: