How to make a plugin with a building so that the building does not turn when the camera turns?
Moderators: Scenario Moderators, Plugin Moderators
- Chanel_joom
- Settler
- Posts: 3
- Joined: 26 Aug 2023, 14:27
How to make a plugin with a building so that the building does not turn when the camera turns?
how to make the building in the plugin not rotate? What function should I write in the code?
- FVI
- Inhabitant of a Galaxy
- Posts: 2374
- Joined: 22 Feb 2022, 18:00
- Location: The largest island in Europe
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: How to make a plugin with a building so that the building does not turn when the camera turns?
You must include 4 textures
- ur_sc4_guy
- Metropolitan
- Posts: 135
- Joined: 16 Jun 2022, 20:01
- Location: Any ambanivohitra any e, Madagascar
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: How to make a plugin with a building so that the building does not turn when the camera turns?
- FVI
- Inhabitant of a Galaxy
- Posts: 2374
- Joined: 22 Feb 2022, 18:00
- Location: The largest island in Europe
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: How to make a plugin with a building so that the building does not turn when the camera turns?
Yes, you're right.ur_sc4_guy wrote: ↑01 Sep 2023, 15:01Doesn't this have the inverse desired effect?
I mean, I think he/she is asking to not make it rotation-aware.
Put "false" instead of "true"
- Kulche
- Pluche
- Posts: 1196
- Joined: 07 Jun 2017, 20:28
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to make a plugin with a building so that the building does not turn when the camera turns?
First of all, this attribute is a boolean so you don't put it in quotation marks. I assume "the building turns when the camera turns" means that simply the building has no rotation frames. If you want it not to rotate you have to provide a total of 4 frames and use "rotation aware": true.
- Chanel_joom
- Settler
- Posts: 3
- Joined: 26 Aug 2023, 14:27