Skip to content

Setting zone as full, still allowing particles to enter inside zone #25

Description

@vickmnit

Hi,

As the definition of setZone suggests:

		/**
		* @brief Sets the Zone of this Modifier
		*
		* If the Zone is NULL, the Zone is considered to be the entire universe.
		*
		* @param zone : the Zone of this Modifier
		* @param full : true to consider the Zone as a full object so that particles are not allowed to be within
		*/
		void setZone(Zone* zone,bool full = false);

when I am trying to set full to true for a point mass, still I see particles entering the zone and not getting deflected from the surface as I was expecting.

Fyi: I changed the obstacles to point mass in the collision demo to see this effect.

Could you please explain its correct use or if it is really an issue?

Here I moved only boxes to show the exact position of the particles:

spark issue

Thanks!
Vivek

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions