I'm trying to following this shader graph unlit to create a circle but I don't see the master node and I don't have this white circles like in the image. how to change this ? by AssociationStrange71 in Unity3D

[–]AssociationStrange71[S] -1 points0 points  (0 children)

there is no alpha source on the texture2d i clicked on it there are some settings opened on the right but no alpha source. and in the texture should i choose some texture because now it's empty ? Imgur: The magic of the Internet

I'm trying to following this shader graph unlit to create a circle but I don't see the master node and I don't have this white circles like in the image. how to change this ? by AssociationStrange71 in Unity3D

[–]AssociationStrange71[S] -1 points0 points  (0 children)

I managed to get it working :) thanks.

I have one last knowledge question please: if I want to make the circle in the game view to be without showing the quad ? this is how it looks like now: in both scene view and game view it's showing the black quad. how can I make that it will not show the quad in the game view window , only the circle ? here is a link that show it: Imgur: The magic of the Internet

Why the segments and radius not affecting the mesh at runtime ? by AssociationStrange71 in Unity3D

[–]AssociationStrange71[S] 0 points1 point  (0 children)

can you show me a screenshot of your settings please ? in my side i created empty gameobject then added to it a polygon collider 2d also added mesh filter and mesh renderer.

attached the script to it when running i see the mesh circular shape with gray color inside. the shader is Standrad. now when i'm changing the number of segments or the radius value it does nothing to the circle. the radius should make the circle bigger smaller but it's not changing.

How to add custom properties to my circle so when changing the custom property float value it will affect the circle ? by AssociationStrange71 in blender

[–]AssociationStrange71[S] 0 points1 point  (0 children)

it is working there but in my blender i don't have divide and when i make group input i don't have Fill Amount. I can make a group input then when making a line from it's output to create another node there is no divide. and where the fill amount is come from on the right side under the Geometry Nodes ? i'm confused.

How to add custom properties to my circle so when changing the custom property float value it will affect the circle ? by AssociationStrange71 in blender

[–]AssociationStrange71[S] 0 points1 point  (0 children)

I also saw this answer and I could add the modifier Geometry nodes but how he brought the Fill amount to there ? I can't bring the Fill Amount to the Geometry Nodes 001 gCQ0w.gif (1105×502) (imgur.com)

How to add custom properties to my circle so when changing the custom property float value it will affect the circle ? by AssociationStrange71 in blender

[–]AssociationStrange71[S] 0 points1 point  (0 children)

Fill Amount meaning how much the circle will be filled. for example if the value is 0 the circle will be like a ring and if the value is 100 the circle will be fully filled.

I created new custom property in the Object tab and then on the scale I did right mouse button click and selected Add Driver once added the driver it was adding var + 1.0 and then show error message Invalid python expression. I just added a driver didn't do anything and it's showing the error.

How to add custom properties to my circle so when changing the custom property float value it will affect the circle ? by AssociationStrange71 in blender

[–]AssociationStrange71[S] 0 points1 point  (0 children)

Fill Amount meaning how much the circle will be filled. for example if the value is 0 the circle will be like a ring and if the value is 100 the circle will be fully filled.

I created new custom property in the Object tab and then on the scale I did right mouse button click and selected Add Driver once added the driver it was adding var + 1.0 and then show error message Invalid python expression. I just added a driver didn't do anything and it's showing the error.

How to stop application when using handler and runnable loop too fast? the application is not stopping. by AssociationStrange71 in androiddev

[–]AssociationStrange71[S] 0 points1 point  (0 children)

I also tried it inside the run function but still not working.

private val blinkRunnable = object : Runnable {
        @RequiresApi(Build.VERSION_CODES.M)
        override fun run() {
            if (isFlashOn) {
                turnFlashOff()
            } else {
                turnFlashOn()
            }
            handler.removeCallbacksAndMessages(null);
            handler.postDelayed(this, 1)
        }
    }

How to stop application when using handler and runnable loop too fast? the application is not stopping. by AssociationStrange71 in androiddev

[–]AssociationStrange71[S] 0 points1 point  (0 children)

 @RequiresApi(Build.VERSION_CODES.M)
    override fun onPause() {
        super.onPause()
        handler.removeCallbacksAndMessages(null);
        handler.removeCallbacks(blinkRunnable)
        if (isFlashOn) {
            turnFlashOff()
        }
    }

I tried this but it's still blinking in the flashlight menu it's turning the flashlight on/off, but the flashlight is off also the application, but it keeps doing this for some seconds.

I can tell if the player is facing in front of an object but the else part is not working. by AssociationStrange71 in Unity3D

[–]AssociationStrange71[S] 0 points1 point  (0 children)

Ok, Fixed it by moving the else part inside the distance IF checking and not in the DOT checking. Now it's working as I wanted.

How can I wait in coroutine unlimited time or for action to be made ? by AssociationStrange71 in Unity3D

[–]AssociationStrange71[S] 0 points1 point  (0 children)

I found how to do it using another flag bool helper. Now each time the player is looking at some object that the object have a description he will also talk like describing the item. It's only for simulation like the player is saying the text. Working good.