Skip to content

cannot change values wuth ImGui #88

Open
@sinaSPOGames

Description

@sinaSPOGames

i use this following code to change some values that will be important for me to debug on

var player = null
func _DEBUG_UI(delta):
	if player != null:
		ImGui.Begin("DEBUG_GUI")
		ImGui.DragFloat("Vehicle Dirtyness", [player.dirtyness])
		ImGui.DragFloat("Vehicle Engine Health", [player_health_engine])
		ImGui.DragFloat("Vehicle Body Health", [player_health])
		ImGui.End()

the problem is none of these values do change no matter what i do, those values arent controlled by anything else unless there is some circumstances for example engine health reduces only if my player's vehicle goes over its RPM capacity (an V8 going over 10krpm)

no matter what i do those values never change

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