Ambiera ForumDiscussions, Help and Support. |
|
[ 1 2 3 ] Page 1 of 3 |
|
|||||
|
I am reserving this thread to list all the bug fixes that I will do in CC using the C++ source code. here goes the first bugfix. Texture Property typeNow, it loads the texture correctly when you use the Texture property type while writing your own actions and behaviors. Previously it was throwing an error and not loading the textures. Hopefully, more bug fixes will be added to the list. |
||||
|
Keep up the good work! |
||||
|
how about this bug: editorGetFileNameFromDialog = path with Capital Letters. and var tex = ccbGetSceneNodeMaterialProperty(s, 0, "Texture1"); path in tex is converted to lower case. |
||||
|
Well, That's not a bug, you can easily fix it with javascript by converting the path to uppercase or lowercase yourself. Also, I won't be able to fix Editor bugs. |
||||
|
the bug is in this part as it does not return a correctly spelled path: var tex = ccbGetSceneNodeMaterialProperty(s, 0, "Texture1"); path in tex is converted to lower case. "C:\Windows" becomes "c:\windows" ! which will not be found on any windows system ! " |
||||
|
nope, there is no bug in that command ccbGetSceneNodeMaterialProperty() You can check this action below, it uses the same command and the code returns the correct texture from an object and applies it to another object, without any issues, which means the code is returning the correct path. I don't think on windows it matters if the path is in lowercase or uppercase, it is still gonna point you to the correct directory or correct path, so that's not an issue. here is the action that use the command:- https://cdn.discordapp.com/attac... |
||||
|
There's a bug in the video clip behavior. |
||||
|
@serge, What's the bug? |
||||
|
In the video clip behavior, when execute an action it doesn't work properly. It cause a glitch in the action causing the program to shut down. |
||||
|
Can you fix the following bug please?.... Coppercube assumes child nodes to be in the same position as their parent nodes. EG: and if "parent node a" position == 0,0,0 and if "child node b" position = 30,1000,20 Coppercube will see "child node b" position == 0,0,0. Thank you. |
||||
|
@VP, that is not a bug, it actually gives you the position of the child with relation to the parent node. If you want to get the Child position with relation to the world. You can use the command var s = ccbGetSceneNodefFromName("child"); simply change the name child to the name of your childnode, and put the above code in an execute a javascript action and it will print the absolute position, with relation to the world instead of the parent node. |
||||
|
It should give the position of the child relative to the Parent - the bug is that CC it gives the position of the parent relative to the world instead. EG: If I child a hat to a person - and then try to "move a bird relative to hat", the bird will be moved relative to the person, not the hat. |
||||
|
Ah,Ok - just tested it - you;re correct; it's a bug with one of the CC extensions - not a coppercube bug. Thank you! |
||||
|
Thanks a lot for help! |
||||
|
Is it possible to get the Spot light to either rotate or change direction with code. Niko said he will try and add this is yet its not added in. I can change the direction of the Directional Light with code and it will point fairly well to the camera target but the Spot light has no current Direction box in the editor but looks like the code does have this ability.....I'm no C++ programmer.... Can you please have a look into this one ???? Let me know what you think... |
[ 1 2 3 ] Page 1 of 3 |
|