Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Compass

An asset by GameDevOne
The page banner background of a mountain and forest
Compass thumbnail image
Compass thumbnail image
Compass thumbnail image
Compass hero image

Quick Information

0 ratings
Compass icon image
GameDevOne
Compass

A Control Node that displays the Cardinal Directions in a 3D space. (North, South, East, and West)

Supported Engine Version
3.5
Version String
1.1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Compass

Version 1.1.0

Table of Contents

  1. Installation
  2. Usage
  3. Documentation
  4. Examples

Installation

  1. Create a folder called addons in your project
  2. Get the plugin from the AssetLib or from GitHub.
    • Godot AssetLib: Open the AssetLib from the Godot editor and search for Compass. Click download to install the plugin.
    • GitLab: Run git clone [email protected]:gamedevone1/godot-asset-library-tools/-/tree/Compass-v1.0.0.git and copy the contents of the addons directory to your project's addons folder.

Usage

  1. Place the Compass/Source/Compass.tscn into your scene of choice.
    1. The Compass Control Node will appear in the 2d section of your editor
  2. Textures for the Needle and Dial are required for the Compass to work correctly. See Documentation for more info.

Documentation

Extends: Control

Description

Displays the cardinal directions in a 3D space. (North, South, East and West)

Textures for Needle and Dial are provided in addon/Compass/Assets/. Best resolution for custom textures are 512x512.

Camera Node is the primary camera used to view the 3d space.

Note: Advanced Settings are options that may require a more restrictive project layout to utilize effectively. Use with caution.

Property

Type Name Default Value
Color Background Color Color(1,1,1,0.25)
Texture Dial Texture null
Texture Needle Texture null
bool Advanced Settings Enabled false
float True North 0.0
NodePath Camera Path ""

Property Descriptions

Background Color

export var BackgroundColor = "1,1,1,0.25"

Default Color of Background

Dial Texture

export var DialTexture

Texture resource for the Ring around the Compass

Needle Texture

export var NeedleTexture

Texture resource for the Needle that points the direction the Camera is facing

Advanced Settings Enabled

export var AdvancedSettingsEnabled = false

Enable to view Advance Settings in Inspector

True North

var TrueNorth: float = 0

The degree offset of the North direction.

Camera Path

var CameraPath: NodePath = ""

Override path to the Active 3D Camera

Examples

README Example 1 README Example 2 README Example 3

A Control Node that displays the Cardinal Directions in a 3D space. (North, South, East, and West)

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Compass icon image
GameDevOne
Compass

A Control Node that displays the Cardinal Directions in a 3D space. (North, South, East, and West)

Supported Engine Version
3.5
Version String
1.1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers