Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features v1 placing #34

Merged
merged 31 commits into from
Sep 11, 2021
Merged

Features v1 placing #34

merged 31 commits into from
Sep 11, 2021

Conversation

deadlykam
Copy link
Owner

No description provided.

The prefabs can be placed in scene world by mouse click. The toggle button name needs to studied.
Prefabs can now be placed in the scene world with fixed position feature as well.
Made the base layout class that will be used to create the layout. This will simplify the layout creation. Need to find a way to get the actual vector position.
The actual position can be calculated now between the BaseLayouts. This will now allow for simpler coding for adding the rest of the features.
Simplified the adding of new layouts by using a manager object that acts like FSM.
Added the fixed rotation placement feature. Now when the prefab is placed the given fixed rotation is applied if enabled. Hotkey is O
Added random rotation feature during placement. Also added toggling feature amongst the layer. So if a layer is shown and it has opposite layer that needs to be hidden then it will hide.
The prefab's placement scale can be changed through the fixed scale layout.
Now a random scale is given to the prefab when placing. Also fixed the scale calculation.
Now there is a mode that limits how many objects can be placed. Also changed the BaseLayout class design a bit.
Added a feature for loading prefabs. The prefab folder path location must be copied and then pasted for to load all the prefabs. Also added more cubes for testing the grid.
Now the user can load all the prefabs into a drop down combo button and select which prefab group to use.
Now the selected prefab is shown in a preview that will help the user to know which prefab has been selected.
Added the drag placement feature. Now the user can left click and move the mouse around to place objects.
Added offset position feature. Now prefabs can be placed with some offset threshold.
Handled issues when prefabs are deleted.
Created and added the logo. Also added a main scroll so that when elements goes out of the view a scroll will come out allowing to scroll up and down. Also added the version number as well.
@deadlykam deadlykam added the merge request Requesting for merge label Sep 11, 2021
@deadlykam deadlykam added this to the Stable 1.0.0 milestone Sep 11, 2021
@deadlykam deadlykam self-assigned this Sep 11, 2021
@deadlykam deadlykam merged commit 37db253 into features-v1 Sep 11, 2021
@deadlykam deadlykam deleted the features-v1-placing branch September 11, 2021 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge request Requesting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant