I want to simulate in Unity a house smoke by the chimney, I have a partickle system y…
- User
I want to simulate in Unity a house smoke by the chimney, I have a partickle system y only have to start and stop it, the thing that i want is start it, keep it for a time between20 and 30 seconds and then wait between 2-3 minutes to start it again
- Assistant
- User
I want use this as base
- Assistant
- User
- Assistant
- User
Unity is not destroying my objects
- Assistant
- User
When I close the editor the debbuger says this
DestroyImmediate is not allowed to be called while application is terminating. at (wrapper managed-to-native) UnityEngine.Object.DestroyImmediate(UnityEngine.Object,bool) at UnityEngine.Object.DestroyImmediate (UnityEngine.Object obj) [0x00003] in :0 at UnityEditor
- Assistant
- User
- Assistant
- User
Bounds.center returns coordinates in world space?
- Assistant
Yes,
Bounds.centerreturns the coordinates in world space. In Unity, when you're dealing withBoundsthat have been created or accessed from aCollider,Renderer, or any other component that operates based on an object's position in the world, thecenterproperty of thoseBoundsrepresents the central point in world space.The
Boundsstructure itself is used to represent an axis-aligned bounding box, which is defined by a central point (center) and extents (extents) from that center point to the sides of the box. SinceBoundsare typically used in the context of objects in a scene, their properties are understood in relation to the world coordinate system.For example, if you have a
Colliderattached to a GameObject and you access its bounds: - User
Bounds.center is giving me another coordinates, do you know why?
- Assistant
- User
Ineeded to use Physics.SyncTransforms() to this work properly, why???
- Assistant
- User
Hi
- Assistant
Hello! How can I assist you today?
- User
- Assistant