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
Describe the project you are working on:
3D shooter
Describe the problem or limitation you are having in your project:
I found myself repeating the following code in order to instance an object to a position inside the scene
var bullet : RigidBody = Bullet.instance()
bullet.transform = self.global_transform
get_node("/root/World").add_child(bullet)
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
To have a richer instance method that accepts more parameters
var world = get_node("/root/World")
var bullet : RigidBody = Bullet.instance(world, self.transform)
Maybe we can add another parameters that make sense too
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
See above
If this enhancement will not be used often, can it be worked around with a few lines of script?:
The idea is to reduce duplicated code
Is there a reason why this should be core and not an add-on in the asset library?:
this work only on code
The text was updated successfully, but these errors were encountered:
Describe the project you are working on:
3D shooter
Describe the problem or limitation you are having in your project:
I found myself repeating the following code in order to instance an object to a position inside the scene
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
To have a richer instance method that accepts more parameters
Maybe we can add another parameters that make sense too
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
See above
If this enhancement will not be used often, can it be worked around with a few lines of script?:
The idea is to reduce duplicated code
Is there a reason why this should be core and not an add-on in the asset library?:
this work only on code
The text was updated successfully, but these errors were encountered: