Vintage Ammeter Set (Functional)
Davie Ramble
$9.99
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/19(2024) |
9.99 |
11/06(2024) |
9.99 |
Jump AssetStore
The Vintage Ammeter Set comprises three ammeter models, each featuring a functional ampere indicator with a range spanning from 0 to 12 amperes.OverviewThe Vintage Ammeter Set comprises three ammeter models, each featuring a functional ampere indicator with a range spanning from 0 to 12 amperes.FeaturesFunctional ampere indicator: Set the target ampere value using the targetAmps variable, a public float property ranging from 0 to 12.Pointer speed: Adjust the speed of the pointer as it moves towards the target ampere value with the pointerSpeed variable. This public float property has a customizable range between 0.05 and 2, where smaller values correspond to higher pointer speeds and vice versa.UsageUsing Prefab:Drag and drop the provided prefab into your scene.Adjust the targetAmps and pointerSpeed variables in the Inspector as per your requirements.Manual Setup:Attach the VintageAmmeterPointerValue script to the GameObject representing the vintage ammeter.Ensure a child GameObject named "Vintage Ammeter Pointer" is under the main GameObject, representing the rotating pointer. The local position of the pointer is set to Vector3(0, 0.0435f, -0.03343f) by default.Adjust the targetAmps and pointerSpeed variables in the Inspector as per your requirements.Run the scene, and the script will smoothly rotate the pointer towards the specified target ampere value.ScriptingFor dynamic control, externally edit the targetAmp and pointerSpeed variables through your scripts, seamlessly integrating with other game logic. Check the provided sample script in DemoScene.cs, attached to the Plane object in the demo scene, for reference.Meshes:Vintage Ammeter:LOD0: 14292 Vertices, 14560 TrianglesLOD1: 2450 Vertices, 1548 TrianglesLOD2: 1168 Vertices, 620 TrianglesLOD3: 176 Vertices, 91 TrianglesVintage Ammeter PointerLOD0: 6 Vertices, 6 TrianglesLOD1-LOD3: Not visibleVintage Ammeter Collider188 Vertices, 94 TrianglesPrefabs:3 prefabs featuring distinct materials, with a functional script for the PointerMaterials:3 unique materialsNumber of textures:Each material consists of 5 textures (Color with Alpha, Metallic, Normal, Roughness, AO)Texture dimensions:4KAI was used to generate the script of an ammeter pointer.