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

PlayAtCamPos

An asset by G2P Studios
The page banner background of a mountain and forest
PlayAtCamPos hero image

Quick Information

0 ratings
PlayAtCamPos icon image
G2P Studios
PlayAtCamPos

A godot 4.X addon that enables you to play the game at editor camera's current position in 3D.What's New:- Added the ability to specify targets using groups- Added the option to reset target's position to a default position (in future, will be able to set the default position yourself)Its a pretty simple addon. If you have used roblox studio before, there's a button called Play Here which plays the game at camera's current position. This plugin basically brings that button in godot. In simple words, it sets the player's position to the editor's camera position and then launch the current scene.

Supported Engine Version
4.2
Version String
0.0.4
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

PlayAtCamPos

A godot 4.X addon that enables you to play the game at editor camera's current position in 3D.

https://github.com/AdilDevStuff/PlayAtCamPos/assets/94475453/80978472-c3d5-4cfd-a9e8-fa93ba938eec

How it works?

Its a pretty simple addon. If you have used roblox studio before, there's a button called Play Here which plays the game at camera's current position. This plugin basically brings that button in godot. In simple words, it sets the player's position to the editor's camera position and then launch the current scene.

How To Use:

  • Make sure plugin is enabled in the Project Settings > Plugins
  • Add any group to your target, for example player
  • Set the target_group in the settings window, which is right next to play_here button.
  • Go anywhere in the scene and press Play Here button on top right corner of the screen.
  • By default, it just follows the position of the editor's viewport camera
  • You can enable the follow_rotation option from Settings window right next to the player button to make it follow rotation as well.

Limitations:

  • Currently this works only with Characterbody3D as the player. Maybe i will let the user set the player's type in the future. Currently, it searches for the CharacterBody3D class in the last edited scene and changes its position to editor's 3D viewport camera. (NOW POSSIBLE)
  • It just copies the position of the main viewport camera, so if there are 4 views open, it will copy the first (main) viewport camera's position or rotation.
  • There should be only one CharacterBody3D in the scene to make it work currently. I will find a way to make it work with given target in future (Prob. with groups). (NOW POSSIBLE)

How To Install

  1. Download the PlayAtCamPos folder from releases.
  2. Copy the folder to res://addons in your godot project. The directory should look like this -> res://addons/PlayAtCamPos
  3. Go to Project settings -> Plugins and enable the plugin there
  4. Done!

Any contributions will be highly appreciated!

Available with MIT License

A godot 4.X addon that enables you to play the game at editor camera's current position in 3D.

What's New:
- Added the ability to specify targets using groups
- Added the option to reset target's position to a default position (in future, will be able to set the default position yourself)

Its a pretty simple addon. If you have used roblox studio before, there's a button called Play Here which plays the game at camera's current position. This plugin basically brings that button in godot. In simple words, it sets the player's position to the editor's camera position and then launch the current scene.

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
PlayAtCamPos icon image
G2P Studios
PlayAtCamPos

A godot 4.X addon that enables you to play the game at editor camera's current position in 3D.What's New:- Added the ability to specify targets using groups- Added the option to reset target's position to a default position (in future, will be able to set the default position yourself)Its a pretty simple addon. If you have used roblox studio before, there's a button called Play Here which plays the game at camera's current position. This plugin basically brings that button in godot. In simple words, it sets the player's position to the editor's camera position and then launch the current scene.

Supported Engine Version
4.2
Version String
0.0.4
License Version
MIT
Support Level
community
Modified Date
1 year 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